@kform/core
Version:
JavaScript bindings for KForm.
1,470 lines • 661 kB
JavaScript
import {
getOrNull1go7ef9ldk0df as getOrNull,
equals2au1ep9vhcato as equals,
VOID7hggqo3abtya as VOID,
listOfvhqybd2zx248 as listOf,
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
ArrayList3it5z8td81qkl as ArrayList,
Unit_instance14hm69wy3kr8u as Unit_instance,
until1jbpn0z3f8lbg as until,
slice2g43wio9c6zdv as slice,
addAll1k27qatfgp3k5 as addAll,
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
drop3na99dw9feawf as drop,
THROW_CCE2g6jy02ryeudk as THROW_CCE,
KtList3hktaavzmj137 as KtList,
isInterface3d6p8outrmvmk as isInterface,
last1vo29oleiqj36 as last,
emptyList1g2z5xcrvp2zy as emptyList,
checkIndexOverflow3frtmheghr0th as checkIndexOverflow,
plus310ted5e4i90h as plus,
Collection1k04j3hzsbod0 as Collection,
last3cd86tb14cwl6 as last_0,
copyToArray2j022khrow2yi as copyToArray,
arrayConcat3qsij7vh68m69 as arrayConcat,
hashCodeq5arwsb9dgti as hashCode,
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
toString1pkumu07cwy4m as toString,
KtMap140uvy3s5zad8 as KtMap,
IllegalArgumentException2asla15b5jaob as IllegalArgumentException,
getKClassFromExpression3vpejubogshaw as getKClassFromExpression,
anyToString3ho3k49fc56mj as anyToString,
toString30pk9tzaqopn as toString_0,
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
captureStack1fzi4aczwc4hg as captureStack,
RuntimeException1r3t0zl97011n as RuntimeException,
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
CancellationException3b36o9qz53rgr as CancellationException,
throwUninitializedPropertyAccessExceptionyynx7gkm73wd as throwUninitializedPropertyAccessException,
anytbxcu4fk10en as any,
ensureNotNull1e947j3ixpazm as ensureNotNull,
suspendOrReturn49pspzlx5djv as suspendOrReturn,
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
createThis2j2avj17cvnv2 as createThis,
HashMap1a0ld5kgwhmhv as HashMap,
single21bmnx951bnsa as single,
Enum3alwj03lh1n41 as Enum,
FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap,
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
mapCapacity1h45rc3eh9p2l as mapCapacity,
coerceAtLeast2bkz8m9ik7hep as coerceAtLeast,
charSequenceGet1vxk1y5n17t1z as charSequenceGet,
getOrNull1cdnsfrisdp41 as getOrNull_0,
toString14fd7g605f91p as toString_1,
Char19o2r8palgjof as Char,
_Char___init__impl__6a9atx367vrx0avsvbg as _Char___init__impl__6a9atx,
listOf1jh22dvmctj1r as listOf_0,
Regexxgw0gjiagf4z as Regex,
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
dropLast1vpiyky649o34 as dropLast,
plus20p0vtfmu0596 as plus_0,
get_lastIndex1yw0x4k50k51w as get_lastIndex,
plus1di085adi7f7m as plus_1,
StringBuildermazzzhj6kkai as StringBuilder,
getStringHashCode26igk1bx568vk as getStringHashCode,
emptyMapr06gerzljqtm as emptyMap,
joinToString1cxrrlmo0chqs as joinToString,
getKClass1s3j9wy1cofik as getKClass,
LazyThreadSafetyMode_PUBLICATION_getInstance2l411fkf5jrbp as LazyThreadSafetyMode_PUBLICATION_getInstance,
lazy1261dae0bgscp as lazy,
LinkedHashSet2tkztfx86kyx2 as LinkedHashSet,
emptySetcxexqki71qfa as emptySet,
none369ray3udrc57 as none,
protoOf180f3jzyo7rfj as protoOf,
to2cs3ny02qtbcb as to,
mapOf1xd03cq9cnmy8 as mapOf,
toSet2orjxp16sotqu as toSet,
HashSet2dzve9y63nf0v as HashSet,
sequence2vgswtrxvqoa7 as sequence,
SequenceScope1coiso86pqzq2 as SequenceScope,
mapsbvh18eqox7a as map,
charSequenceLength3278n89t01tmv as charSequenceLength,
contentEquals1cdp6c846cfdi as contentEquals,
contentHashCode25jw6rgkgywwr as contentHashCode,
NoSuchElementException679xzhnp5bpj as NoSuchElementException,
AbstractSet2mw1ev10zm1bz as AbstractSet,
AbstractCollection1g9uvtcheckwb as AbstractCollection,
Monotonic_instance3s1zigq5po9wx as Monotonic_instance,
ValueTimeMark3e7hmed1q029a as ValueTimeMark,
toSet2morh2kqexfa2 as toSet_0,
ArrayDeque2dzc9uld4xi7n as ArrayDeque,
_Duration___get_inWholeMilliseconds__impl__msfiryngn8rf3n78he as _Duration___get_inWholeMilliseconds__impl__msfiry,
Duration5ynfiptaqcrg as Duration,
singleOrNull2y8ki7u63vli1 as singleOrNull,
toListx6x8nvfmvvht as toList,
toMutableSetjdpdbr9jsqq8 as toMutableSet,
filter184huxd00uyfg as filter,
KClass1cc9rfeybg8hs as KClass,
arrayIterator3lgwvgteckzhv as arrayIterator,
fillArrayVali8eppxapiek4 as fillArrayVal,
fill3hcjvebk42tyx as fill,
distinct10qe1scfdvu5k as distinct,
toMutableSetr5xcjjw5nxgp as toMutableSet_0,
toList383f556t1dixk as toList_0,
Paire9pteg33gng7 as Pair,
firstqtqxwgtggxw8 as first,
count1ygc0p0bu4uw8 as count,
toList3jhuyej2anx2q as toList_1,
mutableListOf6oorvk2mtdmp as mutableListOf,
toHashSet1qrcsl3g8ugc8 as toHashSet,
IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
checkCountOverflow1ro2fe1r4xvgf as checkCountOverflow,
first28gmhyvs4kf06 as first_0,
plus2m1vv33moko5t as plus_2,
Long2qws0ah9gnpki as Long,
numberToLong1a4cndvg6c52s as numberToLong,
PrimitiveClasses_getInstance2khhb8173vcfl as PrimitiveClasses_getInstance,
toBoolean2azvnq2ukl7b3 as toBoolean,
toDouble1kn912gjoizjp as toDouble,
numberToDouble210hrknaofnhf as numberToDouble,
isNumberiramasdbon0i as isNumber,
toInt2q8uldh7sc951 as toInt,
Sequence1quqbxersk0bb as Sequence,
plus39kp8wyage607 as plus_3,
isArray1hxjqtqy632bc as isArray,
compareTo3ankvs086tmwq as compareTo,
setOf1u3mizs95ngxo as setOf,
UnsupportedOperationException2tkumpmhredt3 as UnsupportedOperationException,
intersect7qttw6wlmz1n as intersect,
plus1ogy4liedzq5j as plus_4,
maxOfnpw4mt1rg0hl as maxOf,
minOf33o15vox9quzb as minOf,
first58ocm7j58k3q as first_1,
numberRangeToNumber25vse2rgp6rs8 as numberRangeToNumber,
toIntOrNull3w2d066r9pvwm as toIntOrNull,
startsWith26w8qjqapeeq6 as startsWith,
take3onnpy6q7ctcz as take,
endsWith3cq61xxngobwh as endsWith,
indexOf1xbs558u7wr52 as indexOf,
drop336950s126lmj as drop_0,
take9j4462mea726 as take_0,
any2h2vr68v3604v as any_0,
startsWith1bgirhbedtv2y as startsWith_0,
isShortArraywz30zxwtqi8h as isShortArray,
isLongArray2fdt3z7yu3ef as isLongArray,
isIntArrayeijsubfngq38 as isIntArray,
isFloatArrayjjscnqphw92j as isFloatArray,
isDoubleArray1wyh4nyf7pjxn as isDoubleArray,
isCharArray21auq5hbrg68m as isCharArray,
isByteArray4nnzfn1x4o3w as isByteArray,
isBooleanArray35llghle4c6w1 as isBooleanArray,
isCharSequence1ju9jr1w86plq as isCharSequence,
isBlank1dvkhjjvox3p0 as isBlank,
println2shhhgwwt4c61 as println,
withIndex114bv3ied1pqb as withIndex,
withIndex1cnk1g6mmllem as withIndex_0,
withIndexoqm9veqy69bw as withIndex_1,
withIndex3cxpvalh3qkff as withIndex_2,
withIndex1inhdgibjvvfx as withIndex_3,
withIndex12z8nzt9y4gx9 as withIndex_4,
withIndex3n8jc3y7i2ijo as withIndex_5,
withIndexys6958xblrbk as withIndex_6,
withIndex37cl61h9v5txo as withIndex_7,
withIndex3s8q7w1g0hyfn as withIndex_8,
} from './kotlin-kotlin-stdlib.mjs';
import {
STRING_getInstance2u10xjygh5c7g as STRING_getInstance,
PrimitiveSerialDescriptor3egfp53lutxj2 as PrimitiveSerialDescriptor,
KSerializerzf77vz1967fq as KSerializer,
SealedClassSerializeriwipiibk55zc as SealedClassSerializer,
StringSerializer_getInstance2kpn94uehvuc4 as StringSerializer_getInstance,
get_nullable197rfua9r7fsz as get_nullable,
LinkedHashMapSerializermaoj2nyji7op as LinkedHashMapSerializer,
PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor,
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
LinkedHashSetSerializer3ncla559t2lx7 as LinkedHashSetSerializer,
BooleanSerializer_getInstance3t92d2vyp8fnb as BooleanSerializer_getInstance,
} from './kotlinx-serialization-kotlinx-serialization-core.mjs';
import {
CompletableDeferred2lnqvsbvx74d3 as CompletableDeferred,
cancel36mj9lv3a0whl as cancel,
SupervisorJobythnfxkr3jxc as SupervisorJob,
CoroutineName2g5zosw74tf0f as CoroutineName,
CoroutineScopelux7s7zphw7e as CoroutineScope,
launch1c91vkjzdi9sd as launch,
NonCancellable_getInstance20lsuszdrz1o3 as NonCancellable_getInstance,
withContext3dkm8s4upl4ld as withContext,
CoroutineScopefcb5f5dwqcas as CoroutineScope_0,
toList1w8cr0enigbnc as toList_2,
Flow3375h4584bu3w as Flow,
Dispatchers_getInstance1mboduv6vx5h6 as Dispatchers_getInstance,
Mutex16li1l0asjv17 as Mutex,
firstOrNull1ubosk2v29fc3 as firstOrNull,
single36fwm3s4wmj16 as single_0,
flow3tazazxj2t7g4 as flow,
FlowCollector26clgpmzihvke as FlowCollector,
emitAll2ll41gkd5meqr as emitAll,
catchrcnx5mlu3pkp as catch_0,
firstOrNull2i7tb1ukmw7gz as firstOrNull_0,
singleOrNull1l6t4aeio92u8 as singleOrNull_0,
awaitopqeg9l1dqx0 as await_0,
collect17bovwmirntks as collect,
Channel3r72atmcithql as Channel,
cancelAndJoin6wiop6tlns6r as cancelAndJoin,
MutableStateFlow34bfoyvwu8czu as MutableStateFlow,
CompletableDeferred10t3vc1asgghx as CompletableDeferred_0,
onCompletion2zzj1m13j2omp as onCompletion,
emptyFlow35paiql7g3tok as emptyFlow,
get_isActive3hyjjajobpa4m as get_isActive,
} from './kotlinx-coroutines-core.mjs';
import { KotlinLogging_instance26prnimog2gu5 as KotlinLogging_instance } from './kotlin-logging.mjs';
import {
Companion_getInstance3uy7fqhctogth as Companion_getInstance,
BigDecimal48yf13swr2y6 as BigDecimal,
BigInteger2os7lovh3vsct as BigInteger,
RoundingMode_UNNECESSARY_getInstance34ydr63fdvs2h as RoundingMode_UNNECESSARY_getInstance,
Companion_getInstance7u3hg5uf8ivj as Companion_getInstance_0,
} from './kt-math.mjs';
//region block: imports
var imul = Math.imul;
//endregion
//region block: pre-declaration
class Companion {
constructor() {
Companion_instance = this;
this.c2a_1 = AbsolutePathKt.f2a();
this.d2a_1 = AbsolutePathKt.f2a(listOf(RecursiveWildcard_getInstance()));
}
}
class Serializer {
constructor() {
Serializer_instance = this;
this.g2a_1 = PrimitiveSerialDescriptor('io.kform.AbsolutePath', STRING_getInstance());
}
m1o() {
return this.g2a_1;
}
}
class PathKt {
static x2a(fragments) {
Companion_getInstance_3();
fragments = fragments === VOID ? emptyList() : fragments;
var $this = createThis(this);
$this.w2a_1 = ArrayList.r(fragments);
return $this;
}
y2a() {
return this.w2a_1;
}
static d2b(stringPath) {
Companion_getInstance_3();
return this.x2a(parse(Companion_getInstance_3(), stringPath));
}
e2b(index) {
return this.w2a_1.g1(index);
}
g1(index) {
return this.e2b(index);
}
i2b() {
return PathKt.x2a(Companion_getInstance_3().j2b(this.w2a_1));
}
s2b(fragments) {
return PathKt.x2a(plus_1(this.w2a_1, fragments));
}
t2b(paths) {
var tmp = Companion_getInstance_3();
// Inline function 'kotlin.collections.map' call
// Inline function 'kotlin.collections.mapTo' call
var destination = ArrayList.w(paths.length);
var inductionVariable = 0;
var last = paths.length;
while (inductionVariable < last) {
var item = paths[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'io.kform.Path.join.<anonymous>' call
var tmp$ret$0 = item.w2a_1;
destination.s(tmp$ret$0);
}
// Inline function 'kotlin.collections.toTypedArray' call
var tmp$ret$3 = copyToArray(destination);
return PathKt.x2a(tmp.y2n(arrayConcat([[this.w2a_1], tmp$ret$3])));
}
r2b() {
return PathKt.x2a(Companion_getInstance_3().v2a([this.w2a_1]));
}
m2b(paths) {
var tmp = Companion_getInstance_3();
// Inline function 'kotlin.collections.map' call
// Inline function 'kotlin.collections.mapTo' call
var destination = ArrayList.w(paths.length);
var inductionVariable = 0;
var last = paths.length;
while (inductionVariable < last) {
var item = paths[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'io.kform.Path.resolve.<anonymous>' call
var tmp$ret$0 = item.w2a_1;
destination.s(tmp$ret$0);
}
// Inline function 'kotlin.collections.toTypedArray' call
var tmp$ret$3 = copyToArray(destination);
return PathKt.x2a(tmp.v2a(arrayConcat([[this.w2a_1], tmp$ret$3])));
}
equals(other) {
var tmp;
if (this === other) {
tmp = true;
} else {
if (!(other instanceof PathKt)) {
tmp = false;
} else {
tmp = equals(this.r2b().w2a_1, other.r2b().w2a_1);
}
}
return tmp;
}
hashCode() {
return hashCode(this.r2b().w2a_1);
}
toString() {
// Inline function 'kotlin.text.buildString' call
// Inline function 'kotlin.apply' call
var this_0 = StringBuilder.u();
// Inline function 'io.kform.Path.toString.<anonymous>' call
var iterator = this.w2a_1.y();
var index = 0;
while (iterator.z()) {
var i = index;
index = index + 1 | 0;
var fragment = iterator.a1();
if (fragment instanceof Root) {
this_0.yh();
this_0.yc(_Char___init__impl__6a9atx(47));
} else {
this_0.xc(Companion_getInstance_3().x2n(fragment));
var tmp;
if (i < (this.w2a_1.b1() - 1 | 0)) {
tmp = true;
} else {
var tmp_0;
if (fragment instanceof Id) {
tmp_0 = fragment.v2n_1 === '';
} else {
tmp_0 = false;
}
tmp = tmp_0;
}
if (tmp) {
this_0.yc(_Char___init__impl__6a9atx(47));
}
}
}
return this_0.toString();
}
}
class AbsolutePathKt extends PathKt {
static h2a(fragments, needsResolving) {
Companion_getInstance_1();
return this.x2a(needsResolving ? Companion_getInstance_3().v2a([listOf(Root_getInstance()), fragments]) : fragments);
}
y2a() {
var tmp = drop(this.w2a_1, 1);
return isInterface(tmp, KtList) ? tmp : THROW_CCE();
}
b1() {
return this.w2a_1.b1() - 1 | 0;
}
z2a() {
return this.w2a_1.b1() === 1;
}
a2b() {
var tmp;
if (this.z2a()) {
tmp = null;
} else {
var tmp_0 = last(this.w2a_1);
tmp = tmp_0 instanceof AbsolutePathFragmentKt ? tmp_0 : THROW_CCE();
}
return tmp;
}
static f2a(fragments) {
Companion_getInstance_1();
fragments = fragments === VOID ? emptyList() : fragments;
var tmp = listOf(Root_getInstance());
// Inline function 'kotlin.collections.filterIndexed' call
// Inline function 'kotlin.collections.filterIndexedTo' call
var destination = ArrayList.h1();
// Inline function 'kotlin.collections.forEachIndexed' call
var index = 0;
var _iterator__ex2g4s = fragments.y();
while (_iterator__ex2g4s.z()) {
var item = _iterator__ex2g4s.a1();
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
// Inline function 'kotlin.collections.filterIndexedTo.<anonymous>' call
// Inline function 'io.kform.AbsolutePath.<init>.<anonymous>' call
var i = checkIndexOverflow(_unary__edvuaz);
if (!equals(item, RecursiveWildcard_getInstance()) || !equals(getOrNull(fragments, i + 1 | 0), RecursiveWildcard_getInstance())) {
destination.s(item);
}
}
return this.h2a(plus(tmp, destination), false);
}
static b2b(path) {
Companion_getInstance_1();
return this.h2a(path.w2a_1, !(path instanceof AbsolutePathKt));
}
static c2b(stringPath) {
Companion_getInstance_1();
return this.b2b(PathKt.d2b(stringPath));
}
e2b(index) {
var tmp = this.w2a_1.g1(index + 1 | 0);
return tmp instanceof AbsolutePathFragmentKt ? tmp : THROW_CCE();
}
g1(index) {
return this.e2b(index);
}
f2b() {
var tmp0 = this.w2a_1;
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.any' call
var tmp;
if (isInterface(tmp0, Collection)) {
tmp = tmp0.f1();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = false;
break $l$block_0;
}
var _iterator__ex2g4s = tmp0.y();
while (_iterator__ex2g4s.z()) {
var element = _iterator__ex2g4s.a1();
// Inline function 'io.kform.AbsolutePath.hasWildcard.<anonymous>' call
if (element instanceof Wildcard) {
tmp$ret$0 = true;
break $l$block_0;
}
}
tmp$ret$0 = false;
}
return tmp$ret$0;
}
g2b() {
var tmp0 = this.w2a_1;
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.any' call
var tmp;
if (isInterface(tmp0, Collection)) {
tmp = tmp0.f1();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = false;
break $l$block_0;
}
var _iterator__ex2g4s = tmp0.y();
while (_iterator__ex2g4s.z()) {
var element = _iterator__ex2g4s.a1();
// Inline function 'io.kform.AbsolutePath.hasRecursiveWildcard.<anonymous>' call
if (element instanceof RecursiveWildcard) {
tmp$ret$0 = true;
break $l$block_0;
}
}
tmp$ret$0 = false;
}
return tmp$ret$0;
}
h2b() {
var tmp0 = this.w2a_1;
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.any' call
var tmp;
if (isInterface(tmp0, Collection)) {
tmp = tmp0.f1();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = false;
break $l$block_0;
}
var _iterator__ex2g4s = tmp0.y();
while (_iterator__ex2g4s.z()) {
var element = _iterator__ex2g4s.a1();
// Inline function 'io.kform.AbsolutePath.hasAnyWildcard.<anonymous>' call
var tmp_0;
if (element instanceof Wildcard) {
tmp_0 = true;
} else {
tmp_0 = element instanceof RecursiveWildcard;
}
if (tmp_0) {
tmp$ret$0 = true;
break $l$block_0;
}
}
tmp$ret$0 = false;
}
return tmp$ret$0;
}
i2b() {
return AbsolutePathKt.h2a(Companion_getInstance_3().j2b(this.w2a_1), false);
}
k2b(fragments) {
// Inline function 'kotlin.collections.filterIndexed' call
// Inline function 'kotlin.collections.filterIndexedTo' call
var destination = ArrayList.h1();
// Inline function 'kotlin.collections.forEachIndexed' call
var index = 0;
var inductionVariable = 0;
var last_0 = fragments.length;
while (inductionVariable < last_0) {
var item = fragments[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
// Inline function 'kotlin.collections.filterIndexedTo.<anonymous>' call
// Inline function 'io.kform.AbsolutePath.append.<anonymous>' call
if (!equals(item, RecursiveWildcard_getInstance()) || !equals(_unary__edvuaz === 0 ? last(this.w2a_1) : fragments[_unary__edvuaz - 1 | 0], RecursiveWildcard_getInstance())) {
destination.s(item);
}
}
return AbsolutePathKt.h2a(plus(this.w2a_1, destination), false);
}
l2b(fragment) {
return this.k2b([fragment]);
}
m2b(paths) {
var tmp;
// Inline function 'kotlin.collections.isEmpty' call
if (paths.length === 0) {
tmp = this;
} else {
var tmp_0 = last_0(paths);
if (tmp_0 instanceof AbsolutePathKt) {
var tmp_1 = last_0(paths);
tmp = tmp_1 instanceof AbsolutePathKt ? tmp_1 : THROW_CCE();
} else {
var tmp_2 = Companion_getInstance_3();
// Inline function 'kotlin.collections.map' call
// Inline function 'kotlin.collections.mapTo' call
var destination = ArrayList.w(paths.length);
var inductionVariable = 0;
var last = paths.length;
while (inductionVariable < last) {
var item = paths[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'io.kform.AbsolutePath.resolve.<anonymous>' call
var tmp$ret$1 = item.w2a_1;
destination.s(tmp$ret$1);
}
// Inline function 'kotlin.collections.toTypedArray' call
var tmp$ret$4 = copyToArray(destination);
tmp = AbsolutePathKt.h2a(tmp_2.v2a(arrayConcat([[this.w2a_1], tmp$ret$4])), false);
}
}
return tmp;
}
n2b(path) {
return this.m2b([path]);
}
o2b(path) {
return matchesImpl$default(Companion_getInstance_1(), this.y2a(), toAbsolutePath(path).y2a());
}
p2b(path) {
return containsImpl$default(Companion_getInstance_1(), this.y2a(), toAbsolutePath(path).y2a());
}
q2b(path) {
return PathKt.x2a(relativeImpl(this, toAbsolutePath(path).y2a(), this.y2a()));
}
equals(other) {
var tmp;
if (this === other) {
tmp = true;
} else {
if (!(other instanceof PathKt)) {
tmp = false;
} else {
if (other instanceof AbsolutePathKt) {
tmp = equals(this.w2a_1, other.w2a_1);
} else {
tmp = equals(this.w2a_1, other.r2b().w2a_1);
}
}
}
return tmp;
}
hashCode() {
return hashCode(this.w2a_1);
}
y() {
return this.y2a().y();
}
}
class DependencyInfo {
constructor(path, type) {
this.u2b_1 = path;
this.v2b_1 = type;
}
sl() {
return this.u2b_1;
}
tl() {
return this.v2b_1;
}
toString() {
return 'DependencyInfo(path=' + this.u2b_1.toString() + ', type=' + toString(this.v2b_1) + ')';
}
hashCode() {
var result = this.u2b_1.hashCode();
result = imul(result, 31) + hashCode(this.v2b_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof DependencyInfo))
return false;
var tmp0_other_with_cast = other instanceof DependencyInfo ? other : THROW_CCE();
if (!this.u2b_1.equals(tmp0_other_with_cast.u2b_1))
return false;
if (!equals(this.v2b_1, tmp0_other_with_cast.v2b_1))
return false;
return true;
}
}
class ComputationContext {
constructor(schema, path, schemaPath, dependenciesInfo, externalContexts) {
this.w2b_1 = schema;
this.x2b_1 = path;
this.y2b_1 = schemaPath;
this.z2b_1 = dependenciesInfo;
this.a2c_1 = externalContexts;
}
b2c() {
var tmp = this.w2b_1;
return isInterface(tmp, SchemaKt) ? tmp : THROW_CCE();
}
c2c(dependencyKey) {
// Inline function 'kotlin.collections.contains' call
// Inline function 'kotlin.collections.containsKey' call
var this_0 = this.z2b_1;
// Inline function 'kotlin.require' call
if (!(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).a3(dependencyKey)) {
// Inline function 'io.kform.ComputationContext.dependencyInfoOrNull.<anonymous>' call
var message = "No dependency found with key '" + dependencyKey + "'.";
throw IllegalArgumentException.h(toString(message));
}
var tmp = this.z2b_1.c3(dependencyKey);
return (tmp == null ? true : tmp instanceof ValueInfoKt) ? tmp : THROW_CCE();
}
d2c(dependencyKey) {
var tmp0_elvis_lhs = this.c2c(dependencyKey);
var tmp;
if (tmp0_elvis_lhs == null) {
throw DependencyNotFoundException.i2c(dependencyKey);
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
}
j2c(dependencyKey) {
var tmp0_safe_receiver = this.c2c(dependencyKey);
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m2c_1;
}
o2c(dependencyKey) {
return this.d2c(dependencyKey).m2c_1;
}
p2c(dependencyKey) {
var tmp0_safe_receiver = this.c2c(dependencyKey);
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l2c_1;
}
q2c(dependencyKey) {
return this.d2c(dependencyKey).l2c_1;
}
r2c(dependencyKey) {
var tmp0_safe_receiver = this.c2c(dependencyKey);
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k2c_1;
}
s2c(dependencyKey) {
return this.d2c(dependencyKey).k2c_1;
}
t2c(externalContextName) {
// Inline function 'kotlin.collections.contains' call
// Inline function 'kotlin.collections.containsKey' call
var this_0 = this.a2c_1;
// Inline function 'kotlin.require' call
if (!(isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).a3(externalContextName)) {
// Inline function 'io.kform.ComputationContext.externalContextOrNull.<anonymous>' call
var message = "No external context found with name '" + externalContextName + "'.";
throw IllegalArgumentException.h(toString(message));
}
var tmp = this.a2c_1.c3(externalContextName);
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
}
u2c(externalContextName) {
var tmp0_elvis_lhs = this.t2c(externalContextName);
var tmp;
if (tmp0_elvis_lhs == null) {
throw ExternalContextNotFoundException.z2c(externalContextName);
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
}
}
class Observer {
constructor(toObserve, updateState) {
this.a2d_1 = toObserve;
this.b2d_1 = updateState;
}
}
class ComputedValueKt {
e2d() {
return this.c2d_1;
}
f2d() {
return this.d2d_1;
}
toString() {
var tmp0_elvis_lhs = getKClassFromExpression(this).cg();
return tmp0_elvis_lhs == null ? anyToString(this) : tmp0_elvis_lhs;
}
}
class StatefulComputedValueKt extends ComputedValueKt {
k2d() {
return this.j2d_1;
}
m2d(state, $completion) {
return Unit_instance;
}
}
class ComputedValueContext extends ComputationContext {}
class FormManagerEvent {}
class ValueEvent {
constructor(path, schema) {
this.z2e_1 = path;
this.a2f_1 = schema;
}
u2d() {
return this.z2e_1;
}
v2d() {
return this.a2f_1;
}
}
class Init extends ValueEvent {
constructor(value, path, schema) {
super(path, schema);
this.q2d_1 = value;
this.r2d_1 = path;
this.s2d_1 = schema;
this.t2d_1 = null;
}
z2() {
return this.q2d_1;
}
u2d() {
return this.r2d_1;
}
v2d() {
return this.s2d_1;
}
w2d() {
return this.t2d_1;
}
toString() {
return 'Init(path=' + this.r2d_1.toString() + ', value=' + toString_0(this.q2d_1) + ')';
}
hashCode() {
var result = this.q2d_1 == null ? 0 : hashCode(this.q2d_1);
result = imul(result, 31) + this.r2d_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.s2d_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof Init))
return false;
var tmp0_other_with_cast = other instanceof Init ? other : THROW_CCE();
if (!equals(this.q2d_1, tmp0_other_with_cast.q2d_1))
return false;
if (!this.r2d_1.equals(tmp0_other_with_cast.r2d_1))
return false;
if (!equals(this.s2d_1, tmp0_other_with_cast.s2d_1))
return false;
return true;
}
}
class Change extends ValueEvent {
constructor(oldValue, value, path, schema) {
super(path, schema);
this.z2d_1 = oldValue;
this.a2e_1 = value;
this.b2e_1 = path;
this.c2e_1 = schema;
}
w2d() {
return this.z2d_1;
}
z2() {
return this.a2e_1;
}
u2d() {
return this.b2e_1;
}
v2d() {
return this.c2e_1;
}
toString() {
return 'Change(path=' + this.b2e_1.toString() + ', oldValue=' + toString_0(this.z2d_1) + ', value=' + toString_0(this.a2e_1) + ')';
}
hashCode() {
var result = this.z2d_1 == null ? 0 : hashCode(this.z2d_1);
result = imul(result, 31) + (this.a2e_1 == null ? 0 : hashCode(this.a2e_1)) | 0;
result = imul(result, 31) + this.b2e_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.c2e_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof Change))
return false;
var tmp0_other_with_cast = other instanceof Change ? other : THROW_CCE();
if (!equals(this.z2d_1, tmp0_other_with_cast.z2d_1))
return false;
if (!equals(this.a2e_1, tmp0_other_with_cast.a2e_1))
return false;
if (!this.b2e_1.equals(tmp0_other_with_cast.b2e_1))
return false;
if (!equals(this.c2e_1, tmp0_other_with_cast.c2e_1))
return false;
return true;
}
}
class Destroy extends ValueEvent {
constructor(oldValue, path, schema) {
super(path, schema);
this.f2e_1 = oldValue;
this.g2e_1 = path;
this.h2e_1 = schema;
this.i2e_1 = null;
}
w2d() {
return this.f2e_1;
}
u2d() {
return this.g2e_1;
}
v2d() {
return this.h2e_1;
}
z2() {
return this.i2e_1;
}
toString() {
return 'Destroy(path=' + this.g2e_1.toString() + ', oldValue=' + toString_0(this.f2e_1) + ')';
}
hashCode() {
var result = this.f2e_1 == null ? 0 : hashCode(this.f2e_1);
result = imul(result, 31) + this.g2e_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.h2e_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof Destroy))
return false;
var tmp0_other_with_cast = other instanceof Destroy ? other : THROW_CCE();
if (!equals(this.f2e_1, tmp0_other_with_cast.f2e_1))
return false;
if (!this.g2e_1.equals(tmp0_other_with_cast.g2e_1))
return false;
if (!equals(this.h2e_1, tmp0_other_with_cast.h2e_1))
return false;
return true;
}
}
class Add extends ValueEvent {
constructor(value, addedValue, id, path, schema) {
super(path, schema);
this.l2e_1 = value;
this.m2e_1 = addedValue;
this.n2e_1 = id;
this.o2e_1 = path;
this.p2e_1 = schema;
this.q2e_1 = null;
}
z2() {
return this.l2e_1;
}
u2d() {
return this.o2e_1;
}
v2d() {
return this.p2e_1;
}
w2d() {
return this.q2e_1;
}
toString() {
return 'Add(path=' + this.o2e_1.toString() + ', addedValue=' + toString_0(this.m2e_1) + ', id=' + this.n2e_1.toString() + ')';
}
hashCode() {
var result = this.l2e_1 == null ? 0 : hashCode(this.l2e_1);
result = imul(result, 31) + (this.m2e_1 == null ? 0 : hashCode(this.m2e_1)) | 0;
result = imul(result, 31) + this.n2e_1.hashCode() | 0;
result = imul(result, 31) + this.o2e_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.p2e_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof Add))
return false;
var tmp0_other_with_cast = other instanceof Add ? other : THROW_CCE();
if (!equals(this.l2e_1, tmp0_other_with_cast.l2e_1))
return false;
if (!equals(this.m2e_1, tmp0_other_with_cast.m2e_1))
return false;
if (!this.n2e_1.equals(tmp0_other_with_cast.n2e_1))
return false;
if (!this.o2e_1.equals(tmp0_other_with_cast.o2e_1))
return false;
if (!equals(this.p2e_1, tmp0_other_with_cast.p2e_1))
return false;
return true;
}
}
class Remove extends ValueEvent {
constructor(value, removedValue, id, path, schema) {
super(path, schema);
this.t2e_1 = value;
this.u2e_1 = removedValue;
this.v2e_1 = id;
this.w2e_1 = path;
this.x2e_1 = schema;
this.y2e_1 = null;
}
z2() {
return this.t2e_1;
}
u2d() {
return this.w2e_1;
}
v2d() {
return this.x2e_1;
}
w2d() {
return this.y2e_1;
}
toString() {
return 'Remove(path=' + this.w2e_1.toString() + ', removedValue=' + toString_0(this.u2e_1) + ', id=' + this.v2e_1.toString() + ')';
}
hashCode() {
var result = this.t2e_1 == null ? 0 : hashCode(this.t2e_1);
result = imul(result, 31) + (this.u2e_1 == null ? 0 : hashCode(this.u2e_1)) | 0;
result = imul(result, 31) + this.v2e_1.hashCode() | 0;
result = imul(result, 31) + this.w2e_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.x2e_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof Remove))
return false;
var tmp0_other_with_cast = other instanceof Remove ? other : THROW_CCE();
if (!equals(this.t2e_1, tmp0_other_with_cast.t2e_1))
return false;
if (!equals(this.u2e_1, tmp0_other_with_cast.u2e_1))
return false;
if (!this.v2e_1.equals(tmp0_other_with_cast.v2e_1))
return false;
if (!this.w2e_1.equals(tmp0_other_with_cast.w2e_1))
return false;
if (!equals(this.x2e_1, tmp0_other_with_cast.x2e_1))
return false;
return true;
}
}
class StateEvent {
constructor(path, schema) {
this.w2f_1 = path;
this.x2f_1 = schema;
}
u2d() {
return this.w2f_1;
}
v2d() {
return this.x2f_1;
}
}
class ValidationChange extends StateEvent {
constructor(status, issues, path, schema) {
super(path, schema);
this.d2f_1 = status;
this.e2f_1 = issues;
this.f2f_1 = path;
this.g2f_1 = schema;
}
u2d() {
return this.f2f_1;
}
v2d() {
return this.g2f_1;
}
toString() {
return 'ValidationChange(path=' + this.f2f_1.toString() + ', status=' + this.d2f_1.toString() + ', issues=' + toString(this.e2f_1) + ')';
}
hashCode() {
var result = this.d2f_1.hashCode();
result = imul(result, 31) + hashCode(this.e2f_1) | 0;
result = imul(result, 31) + this.f2f_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.g2f_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof ValidationChange))
return false;
var tmp0_other_with_cast = other instanceof ValidationChange ? other : THROW_CCE();
if (!this.d2f_1.equals(tmp0_other_with_cast.d2f_1))
return false;
if (!equals(this.e2f_1, tmp0_other_with_cast.e2f_1))
return false;
if (!this.f2f_1.equals(tmp0_other_with_cast.f2f_1))
return false;
if (!equals(this.g2f_1, tmp0_other_with_cast.g2f_1))
return false;
return true;
}
}
class DisplayChange extends StateEvent {
constructor(status, path, schema) {
super(path, schema);
this.j2f_1 = status;
this.k2f_1 = path;
this.l2f_1 = schema;
}
u2d() {
return this.k2f_1;
}
v2d() {
return this.l2f_1;
}
toString() {
return 'DisplayChange(path=' + this.k2f_1.toString() + ', status=' + this.j2f_1.toString() + ')';
}
hashCode() {
var result = this.j2f_1.hashCode();
result = imul(result, 31) + this.k2f_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.l2f_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof DisplayChange))
return false;
var tmp0_other_with_cast = other instanceof DisplayChange ? other : THROW_CCE();
if (!this.j2f_1.equals(tmp0_other_with_cast.j2f_1))
return false;
if (!this.k2f_1.equals(tmp0_other_with_cast.k2f_1))
return false;
if (!equals(this.l2f_1, tmp0_other_with_cast.l2f_1))
return false;
return true;
}
}
class DirtyChange extends StateEvent {
constructor(status, path, schema) {
super(path, schema);
this.o2f_1 = status;
this.p2f_1 = path;
this.q2f_1 = schema;
}
u2d() {
return this.p2f_1;
}
v2d() {
return this.q2f_1;
}
toString() {
return 'DirtyChange(path=' + this.p2f_1.toString() + ', status=' + this.o2f_1 + ')';
}
hashCode() {
var result = getBooleanHashCode(this.o2f_1);
result = imul(result, 31) + this.p2f_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.q2f_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof DirtyChange))
return false;
var tmp0_other_with_cast = other instanceof DirtyChange ? other : THROW_CCE();
if (!(this.o2f_1 === tmp0_other_with_cast.o2f_1))
return false;
if (!this.p2f_1.equals(tmp0_other_with_cast.p2f_1))
return false;
if (!equals(this.q2f_1, tmp0_other_with_cast.q2f_1))
return false;
return true;
}
}
class TouchedChange extends StateEvent {
constructor(status, path, schema) {
super(path, schema);
this.t2f_1 = status;
this.u2f_1 = path;
this.v2f_1 = schema;
}
u2d() {
return this.u2f_1;
}
v2d() {
return this.v2f_1;
}
toString() {
return 'TouchedChange(path=' + this.u2f_1.toString() + ', status=' + this.t2f_1 + ')';
}
hashCode() {
var result = getBooleanHashCode(this.t2f_1);
result = imul(result, 31) + this.u2f_1.hashCode() | 0;
result = imul(result, 31) + hashCode(this.v2f_1) | 0;
return result;
}
equals(other) {
if (this === other)
return true;
if (!(other instanceof TouchedChange))
return false;
var tmp0_other_with_cast = other instanceof TouchedChange ? other : THROW_CCE();
if (!(this.t2f_1 === tmp0_other_with_cast.t2f_1))
return false;
if (!this.u2f_1.equals(tmp0_other_with_cast.u2f_1))
return false;
if (!equals(this.v2f_1, tmp0_other_with_cast.v2f_1))
return false;
return true;
}
}
class ExceptionAtPath extends RuntimeException {
static i2g(path, message) {
var $this = this.vb("At '" + path.toString() + "'" + (!(message == null) ? ': ' + message : ''));
captureStack($this, $this.h2g_1);
$this.g2g_1 = path;
return $this;
}
}
class InvalidPathException extends ExceptionAtPath {
static d2g(path, message) {
var $this = this.i2g(path, message);
captureStack($this, $this.c2g_1);
return $this;
}
}
class DependencyNotFoundException extends RuntimeException {
static i2c(dependencyKey) {
var $this = this.vb("Dependency '" + dependencyKey + "' was not found.");
captureStack($this, $this.h2c_1);
$this.g2c_1 = dependencyKey;
return $this;
}
}
class ExternalContextNotFoundException extends RuntimeException {
static z2c(externalContextName) {
var $this = this.vb("External context '" + externalContextName + "' was not found.");
captureStack($this, $this.y2c_1);
$this.x2c_1 = externalContextName;
return $this;
}
}
class InvalidPathToObserveException extends InvalidPathException {
static r2g(path, computation, toObserve) {
var $this = this.d2g(path, "At '" + toString(computation) + "': Invalid path to observe '" + toObserve.toString() + "'.");
captureStack($this, $this.q2g_1);
$this.o2g_1 = computation;
$this.p2g_1 = toObserve;
return $this;
}
}
class InvalidDependencyPathException extends InvalidPathException {
static b2h(path, computation, dependencyKey, dependencyPath) {
var $this = this.d2g(path, "At '" + toString(computation) + "': At dependency '" + dependencyKey + "': Invalid path '" + dependencyPath.toString() + "'.");
captureStack($this, $this.a2h_1);
$this.x2g_1 = computation;
$this.y2g_1 = dependencyKey;
$this.z2g_1 = dependencyPath;
return $this;
}
}
class InvalidDependencyTypeException extends InvalidPathException {
static m2h(path, computation, expectedType, dependencyKey, dependencyType) {
var $this = this.d2g(path, "At '" + toString(computation) + "': At dependency '" + dependencyKey + "': " + ("Expected type: '" + expectedType + "', actual type: '" + kTypeToString(dependencyType) + "'."));
captureStack($this, $this.l2h_1);
$this.h2h_1 = computation;
$this.i2h_1 = expectedType;
$this.j2h_1 = dependencyKey;
$this.k2h_1 = dependencyType;
return $this;
}
}
class Companion_0 {
constructor() {
Companion_instance_0 = this;
var tmp = this;
var tmp_0 = KotlinLogging_instance;
tmp.m2i_1 = tmp_0.c10(FormManager$Companion$logger$lambda);
}
}
class FormManager$syncInit$slambda {
constructor(this$0, $validationMode, $completableInitialized) {
this.n2h_1 = this$0;
this.o2h_1 = $validationMode;
this.p2h_1 = $completableInitialized;
}
s2j($this$launch, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, $this$launch), $completion);
}
te(p1, $completion) {
return this.s2j((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
}
}
class FormManager$destroy$slambda {
constructor(this$0) {
this.n2i_1 = this$0;
}
s2j($this$withContext, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8_0.bind(VOID, this, $this$withContext), $completion);
}
te(p1, $completion) {
return this.s2j((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
}
}
class FormManager$validate$slambda {
t2j(issues, $completion) {
return toList_2(issues, VOID, $completion);
}
te(p1, $completion) {
return this.t2j((!(p1 == null) ? isInterface(p1, Flow) : false) ? p1 : THROW_CCE(), $completion);
}
}
class FormManager$isValid$slambda {
t2j(issues, $completion) {
return containsNoErrors(issues, $completion);
}
te(p1, $completion) {
return this.t2j((!(p1 == null) ? isInterface(p1, Flow) : false) ? p1 : THROW_CCE(), $completion);
}
}
class FormManagerKt {
static u2j(formSchema, initialValue, externalContexts, validationMode, coroutineContext, autoInit) {
Companion_getInstance_2();
externalContexts = externalContexts === VOID ? null : externalContexts;
validationMode = validationMode === VOID ? ValidationMode_Auto_getInstance() : validationMode;
coroutineContext = coroutineContext === VOID ? Dispatchers_getInstance().b1c_1 : coroutineContext;
autoInit = autoInit === VOID ? true : autoInit;
var $this = createThis(this);
$this.q2h_1 = formSchema;
$this.r2h_1 = initialValue;
var tmp = $this;
// Inline function 'kotlin.also' call
var this_0 = buildValidationDependencies($this.q2h_1);
// Inline function 'io.kform.FormManager.validationDependencies.<anonymous>' call
var tmp_0 = Companion_getInstance_2().m2i_1;
tmp_0.wz(FormManager$validationDependencies$lambda(this_0));
tmp.s2h_1 = this_0;
var tmp_1 = $this;
// Inline function 'kotlin.also' call
var this_1 = buildObservedValidationDependencies($this.q2h_1);
// Inline function 'io.kform.FormManager.validationObservedDependencies.<anonymous>' call
var tmp_2 = Companion_getInstance_2().m2i_1;
tmp_2.wz(FormManager$validationObservedDependencies$lambda(this_1));
tmp_1.t2h_1 = this_1;
var tmp_3 = $this;
// Inline function 'kotlin.also' call
var this_2 = buildExternalContextValidationDependencies($this.q2h_1);
// Inline function 'io.kform.FormManager.externalContextValidationDependencies.<anonymous>' call
var tmp_4 = Companion_getInstance_2().m2i_1;
tmp_4.wz(FormManager$externalContextValidationDependencies$lambda(this_2));
tmp_3.u2h_1 = this_2;
$this.v2h_1 = new ExternalIssuesDependencies();
var tmp_5 = $this;
// Inline function 'kotlin.also' call
var this_3 = buildComputedValueDependencies($this.q2h_1);
// Inline function 'io.kform.FormManager.computedValueDependencies.<anonymous>' call
var tmp_6 = Companion_getInstance_2().m2i_1;
tmp_6.wz(FormManager$computedValueDependencies$lambda(this_3));
tmp_5.w2h_1 = this_3;
var tmp_7 = $this;
// Inline function 'kotlin.also' call
var this_4 = buildObservedComputedValueDependencies($this.q2h_1);
// Inline function 'io.kform.FormManager.computedValueObservedDependencies.<anonymous>' call
var tmp_8 = Companion_getInstance_2().m2i_1;
tmp_8.wz(FormManager$computedValueObservedDependencies$lambda(this_4));
tmp_7.x2h_1 = this_4;
var tmp_9 = $this;
// Inline function 'kotlin.also' call
var this_5 = buildExternalContextComputedValueDependencies($this.q2h_1);
// Inline function 'io.kform.FormManager.externalContextComputedValueDependencies.<anonymous>' call
var tmp_10 = Companion_getInstance_2().m2i_1;
tmp_10.wz(FormManager$externalContextComputedValueDependencies$lambda(this_5));
tmp_9.y2h_1 = this_5;
$this.d2i_1 = new ValidationDaemon($this);
$this.e2i_1 = get_UNINITIALIZED();
$this.f2i_1 = null;
$this.g2i_1 = HashMap.p9();
$this.h2i_1 = Mutex();
$this.i2i_1 = false;
$this.j2i_1 = CompletableDeferred();
$this.k2i_1 = CompletableDeferred();
if (autoInit && $this.h2i_1.e1l()) {
syncInit($this, externalContexts, validationMode, coroutineContext);
$this.h2i_1.h1l();
}
return $this;
}
static v2j(formSchema, externalContexts, validationMode, coroutineContext, autoInit) {
Companion_getInstance_2();
externalContexts = externalContexts === VOID ? null : externalContexts;
validationMode = validationMode === VOID ? ValidationMode_Auto_getInstance() : validationMode;
coroutineContext = coroutineContext === VOID ? Dispatchers_getInstance().b1c_1 : coroutineContext;
autoInit = autoInit === VOID ? true : autoInit;
return this.u2j(formSchema, get_INITIAL_VALUE(), externalContexts, validationMode, coroutineContext, autoInit);
}
p2i() {
var tmp = this.z2h_1;
if (!(tmp == null))
return tmp;
else {
throwUninitializedPropertyAccessException('supervisorJob');
}
}
o2i() {
var tmp = this.a2i_1;
if (!(tmp == null))
return tmp;
else {
throwUninitializedPropertyAccessException('scope');
}
}
n2j() {
var tmp = this.c2i_1;
if (!(tmp == null))
return tmp;
else {
throwUninitializedPropertyAccessException('eventsBus');
}
}
w2j(externalContexts, validationMode, coroutineContext, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_init__qn9atk.bind(VOID, this, externalContexts, validationMode, coroutineContext), $completion);
}
x2j(externalContexts, validationMode, coroutineContext, $completion, $super) {
externalContexts = externalContexts === VOID ? null : externalContexts;
validationMode = validationMode === VOID ? ValidationMode_Auto_getInstance() : validationMode;
coroutineContext = coroutineContext === VOID ? Dispatchers_getInstance().b1c_1 : coroutineContext;
return $super === VOID ? this.w2j(externalContexts, validationMode, coroutineContext, $completion) : $super.w2j.call(this, externalContexts, validationMode, coroutineContext, $completion);
}
y2j($completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_destroy__tvleva.bind(VOID, this), $completion);
}
f2j(action, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_scheduleAction__xfb98b.bind(VOID, this, action), $completion);
}
l2i(action, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_scheduleActionAndAwait__72guis.bind(VOID, this, action), $completion);
}
z2j() {
return this.d2i_1.s2i_1;
}
a2k(validationMode, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_setValidationMode__jcafg6.bind(VOID, this, validationMode), $completion);
}
b2k(path) {
return any(schemaInfoImpl(this, toAbsolutePath(path)));
}
g2j(path) {
// Inline function 'kotlin.let' call
// Inline function 'io.kform.FormManager.schemaInfo.<anonymous>' call
var absolutePath = toAbsolutePath(path);
validatePath(this, absolutePath);
return schemaInfoImpl(this, absolutePath);
}
c2k(path, infoHandler, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_valueInfo__6m1dez.bind(VOID, this, path, infoHandler), $completion);
}
d2k(path, infoHandler, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_info__qn9d5y.bind(VOID, this, path, infoHandler), $completion);
}
e2k(path) {
// Inline function 'kotlin.let' call
// Inline function 'io.kform.FormManager.schema.<anonymous>' call
var absolutePath = toAbsolutePath(path);
var tmp;
try {
tmp = single(this.g2j(absolutePath)).h2j_1;
} catch ($p) {
var tmp_0;
if ($p instanceof IllegalArgumentException) {
var ex = $p;
throw InvalidPathException.d2g(absolutePath, 'Path matches more than one schema path.');
} else {
throw $p;
}
}
return tmp;
}
f2k(path, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_has__cbemna.bind(VOID, this, path), $completion);
}
g2k(path, valueHandler, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_get__cbf6n6.bind(VOID, this, path, valueHandler), $completion);
}
h2k(path, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_getClone__u2b9hb.bind(VOID, this, path), $completion);
}
i2k(path, toSet, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_set__cb7isu.bind(VOID, this, path, toSet), $completion);
}
j2k(path, $completion) {
return this.i2k(path, get_INITIAL_VALUE(), $completion);
}
k2k(path, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_remove__l4h01w.bind(VOID, this, path), $completion);
}
l2k(externalContextName, externalContextHandler, $completion) {
return this.l2i(new GetExternalContextAction(this, externalContextName, externalContextHandler), $completion);
}
m2k(externalContextName, externalContext, $completion) {
return this.l2i(new SetExternalContextAction(this, externalContextName, externalContext), $completion);
}
n2k(externalContextName, $completion) {
return this.l2i(new RemoveExternalContextAction(this, externalContextName), $completion);
}
o2k(path, issuesHandler, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_validate__h0j99u.bind(VOID, this, path, issuesHandler), $completion);
}
p2k(path, $completion) {
return this.o2k(path, FormManager$validate$slambda_0(), $completion);
}
q2k(path, $completion) {
return this.o2k(path, FormManager$isValid$slambda_0(), $completion);
}
r2k(issues, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_addExternalIssues__p2z75e.bind(VOID, this, issues), $completion);
}
s2k(path, code, $completion) {
return suspendOrReturn(/*#__NOINLINE__*/_generator_removeExternalIssues__gt40rl.bind(VOID, this, path, code), $completion);
}
l2j(path, $completion) {
return suspendOrRetu