@sphereon/idk-lib-data-link-http-client-impl 0.25.0-SNAPSHOT-build-8529934

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4803 @@
1
+ import {
2
+ THROW_IAE23kobfj9wdoxr as THROW_IAE,
3
+ Unit_instancev9v8hjid95df as Unit_instance,
4
+ Enum3alwj03lh1n41 as Enum,
5
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
6
+ Companion_getInstanceymhgfdhph325 as Companion_getInstance,
7
+ hexToByteArrayj26yk4970vc7 as hexToByteArray,
8
+ toHexString5bhtjxqec7ow as toHexString,
9
+ StringBuildermazzzhj6kkai as StringBuilder,
10
+ toByte4i43936u611k as toByte,
11
+ charCodeAt1yspne1d8erbm as charCodeAt,
12
+ _Char___init__impl__6a9atx2gndcvjvc5pke as _Char___init__impl__6a9atx,
13
+ charSequenceLength3278n89t01tmv as charSequenceLength,
14
+ indexOf1xbs558u7wr52 as indexOf,
15
+ toString22rbkbhdb5cl2 as toString,
16
+ IllegalArgumentException2asla15b5jaob as IllegalArgumentException,
17
+ toString1pkumu07cwy4m as toString_0,
18
+ copyOfRange3alro60z4hhf8 as copyOfRange,
19
+ primitiveArrayConcatwxgknw08pmlb as primitiveArrayConcat,
20
+ VOID3gxj6tk5isa35 as VOID,
21
+ encodeToByteArray1onwao0uakjfh as encodeToByteArray,
22
+ noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
23
+ decodeToString1x4faah2liw2p as decodeToString,
24
+ replace3le3ie7l9k8aq as replace,
25
+ THROW_CCE2g6jy02ryeudk as THROW_CCE,
26
+ isByteArray4nnzfn1x4o3w as isByteArray,
27
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject,
28
+ charSequenceGet1vxk1y5n17t1z as charSequenceGet,
29
+ isWhitespace25occ8z1ed1s9 as isWhitespace,
30
+ charArrayOf27f4r3dozbrk1 as charArrayOf,
31
+ trimEndvvzjdhan75g as trimEnd,
32
+ Char__toInt_impl_vasixdnyockrdnmht5 as Char__toInt_impl_vasixd,
33
+ copyOfwy6h3t5vzqpl as copyOf,
34
+ defineProp3ur6h3slcvq4x as defineProp,
35
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
36
+ IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
37
+ toString30pk9tzaqopn as toString_1,
38
+ isInterface3d6p8outrmvmk as isInterface,
39
+ equals2au1ep9vhcato as equals,
40
+ hashCodeq5arwsb9dgti as hashCode,
41
+ initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
42
+ emptyMapr06gerzljqtm as emptyMap,
43
+ getStringHashCode26igk1bx568vk as getStringHashCode,
44
+ emptyList1g2z5xcrvp2zy as emptyList,
45
+ to2cs3ny02qtbcb as to,
46
+ mapOf2zpbbmyqk8xpf as mapOf,
47
+ mapOf1xd03cq9cnmy8 as mapOf_0,
48
+ ArrayList3it5z8td81qkl as ArrayList,
49
+ collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
50
+ joinToString1cxrrlmo0chqs as joinToString,
51
+ LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap,
52
+ KtMutableList1beimitadwkna as KtMutableList,
53
+ LazyThreadSafetyMode_PUBLICATION_getInstance3qslfm3vqg6y3 as LazyThreadSafetyMode_PUBLICATION_getInstance,
54
+ lazy1261dae0bgscp as lazy,
55
+ RuntimeException1r3t0zl97011n as RuntimeException,
56
+ captureStack1fzi4aczwc4hg as captureStack,
57
+ LinkedHashSet2tkztfx86kyx2 as LinkedHashSet,
58
+ getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
59
+ getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
60
+ substringBefore3n7kj60w69hju as substringBefore,
61
+ split3d3yeauc4rm2n as split,
62
+ substringAfterLast3r0t0my8cpqhk as substringAfterLast,
63
+ protoOf180f3jzyo7rfj as protoOf,
64
+ toList383f556t1dixk as toList,
65
+ toSet1glep2u1u9tcb as toSet,
66
+ toMutableMapr5f3w62lv8sk as toMutableMap,
67
+ Paire9pteg33gng7 as Pair,
68
+ Companion_getInstancec1c8yhxwuclv as Companion_getInstance_0,
69
+ endsWith278181ii8uuo as endsWith,
70
+ split2bvyvnrlcifjv as split_0,
71
+ Comparable198qfk8pnblz0 as Comparable,
72
+ System_instance3k0g5wk7vsmvs as System_instance,
73
+ lazy2hsh8ze7j6ikd as lazy_0,
74
+ convertToInty04h231mmjoh as convertToInt,
75
+ fromInt2ii0rejb1w62w as fromInt,
76
+ Companion_getInstance1bxbth0yni76u as Companion_getInstance_1,
77
+ getKClassFromExpression348iqjl4fnx2f as getKClassFromExpression,
78
+ emptySetcxexqki71qfa as emptySet,
79
+ Duration5ynfiptaqcrg as Duration,
80
+ Duration__hashCode_impl_u4exz63qse1fi71v75y as Duration__hashCode_impl_u4exz6,
81
+ FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
82
+ Comparator2b3maoeh98xtg as Comparator,
83
+ compareValues1n2ayl87ihzfk as compareValues,
84
+ sortedWith2csnbbb21k0lg as sortedWith,
85
+ enumEntries20mr21zbe3az4 as enumEntries,
86
+ _UByte___init__impl__g9hnc43bwrjlqz9k9id as _UByte___init__impl__g9hnc4,
87
+ _UByte___get_data__impl__jof9qr23gcv767stjfh as _UByte___get_data__impl__jof9qr,
88
+ _UInt___init__impl__l7qpdl2xbmh7to8lpd7 as _UInt___init__impl__l7qpdl,
89
+ UIntRangemvq5a1vbdqql as UIntRange,
90
+ _UShort___init__impl__jigrne3vu9egv7mch1k as _UShort___init__impl__jigrne,
91
+ _UShort___get_data__impl__g0245313795p1x5hw5 as _UShort___get_data__impl__g0245,
92
+ _UInt___get_data__impl__f0vqqw2j5mttix8w0l0 as _UInt___get_data__impl__f0vqqw,
93
+ _ULong___init__impl__c78o9k4z3cjzifecv6 as _ULong___init__impl__c78o9k,
94
+ ULongRange154pdpt3pcbx6 as ULongRange,
95
+ _ULong___get_data__impl__fggpzb2bbucljk081qt as _ULong___get_data__impl__fggpzb,
96
+ UByte__toUInt_impl_qgytr9xwipb7h1v3kt as UByte__toUInt_impl_qgytr9,
97
+ UInt__compareTo_impl_yaccljiq7ex7ew8m5m as UInt__compareTo_impl_yacclj,
98
+ UBytep4j7r1t64gz1 as UByte,
99
+ UInt1hthisrv6cndi as UInt,
100
+ ULong__compareTo_impl_38i7tu1f0q2oudg9eyu as ULong__compareTo_impl_38i7tu,
101
+ ULong3f9k7s38t3rfp as ULong,
102
+ shiftRight2gqph14wydb8s as shiftRight,
103
+ convertToByte2t4hntblnhq2k as convertToByte,
104
+ Iterable1y3qizuf89iou as Iterable,
105
+ joinToStringxqcavsxcmh4q as joinToString_0,
106
+ isArray1hxjqtqy632bc as isArray,
107
+ joinToStringaoiqvnxivt29 as joinToString_1,
108
+ isCharArray21auq5hbrg68m as isCharArray,
109
+ joinToString39rl9p9h59k3o as joinToString_2,
110
+ isDoubleArray1wyh4nyf7pjxn as isDoubleArray,
111
+ joinToString1mj3pzsq9v3il as joinToString_3,
112
+ isFloatArrayjjscnqphw92j as isFloatArray,
113
+ joinToString19wzd740ckxch as joinToString_4,
114
+ isLongArray21mxwb8b0y2ii as isLongArray,
115
+ joinToStringo3uw31d7e8og as joinToString_5,
116
+ isIntArrayeijsubfngq38 as isIntArray,
117
+ joinToString3n6ymcj4q3kdr as joinToString_6,
118
+ isShortArraywz30zxwtqi8h as isShortArray,
119
+ joinToString2s91pl8rwjqcz as joinToString_7,
120
+ isBooleanArray35llghle4c6w1 as isBooleanArray,
121
+ KtMap140uvy3s5zad8 as KtMap,
122
+ numberToLong2pakxeg38estk as numberToLong,
123
+ } from '../kotlin-kotlin-stdlib.mjs';
124
+ import {
125
+ STRING_getInstance3lkmlozu5h7cs as STRING_getInstance,
126
+ PrimitiveSerialDescriptor3egfp53lutxj2 as PrimitiveSerialDescriptor,
127
+ KSerializerzf77vz1967fq as KSerializer,
128
+ createSimpleEnumSerializer2guioz11kk1m0 as createSimpleEnumSerializer,
129
+ SerializerFactory1qv9hivitncuv as SerializerFactory,
130
+ SerializableWithd2dap36updxd as SerializableWith,
131
+ SerializersModuleBuilderfxsfdohcdipc as SerializersModuleBuilder,
132
+ createAnnotatedEnumSerializer20ay4pme9p2h9 as createAnnotatedEnumSerializer,
133
+ } from '../kotlinx-serialization-kotlinx-serialization-core.mjs';
134
+ import {
135
+ _Result___get_isOk__impl__qbhaup1tqxnca0qn7sa as _Result___get_isOk__impl__qbhaup,
136
+ _Result___get_isErr__impl__gwfsa61pgzxsa7sw7ep as _Result___get_isErr__impl__gwfsa6,
137
+ _Result___get_value__impl__bjfvqg3pdjhj1ntjbaj as _Result___get_value__impl__bjfvqg,
138
+ _Result___get_error__impl__ihqhun2yewd2st3zd9i as _Result___get_error__impl__ihqhun,
139
+ Result__toString_impl_yu5r8k3px8kujiiitct as Result__toString_impl_yu5r8k,
140
+ Result2tvnpjv968m0t as Result,
141
+ Okgbeuzrvz3pzw as Ok,
142
+ Err2it8fu7wxp6jc as Err,
143
+ getOr3nj1oitjkqqho as getOr,
144
+ get21btg1tawfpz8 as get,
145
+ getErrorh2t8yglt5pwl as getError,
146
+ } from '../kotlin-result-kotlin-result.mjs';
147
+ import {
148
+ Jsonsmkyu9xjl7fv as Json,
149
+ JsonObjectee06ihoeeiqj as JsonObject,
150
+ } from '../kotlinx-serialization-kotlinx-serialization-json.mjs';
151
+ import {
152
+ Companion_getInstance3esse2olsxwcn as Companion_getInstance_2,
153
+ Companion_getInstance3fr80ko02pro7 as Companion_getInstance_3,
154
+ toLocalDateTime2fafgh396r2y5 as toLocalDateTime,
155
+ LocalDateTime3vqv9moe7clf4 as LocalDateTime,
156
+ toInstant2ixtmlbww6j32 as toInstant,
157
+ Formats_getInstance2g1mkej1f99nd as Formats_getInstance,
158
+ format2n4cpzximuj7a as format,
159
+ } from '../Kotlin-DateTime-library-kotlinx-datetime.mjs';
160
+ import { jsonu6qnfo3b405p as json } from '../ktor-ktor-serialization-kotlinx-json.mjs';
161
+ //region block: imports
162
+ var imul = Math.imul;
163
+ //endregion
164
+ //region block: pre-declaration
165
+ class Encoding extends Enum {
166
+ get name() {
167
+ return this.b1();
168
+ }
169
+ get ordinal() {
170
+ return this.a5();
171
+ }
172
+ }
173
+ class Base64UrlSerializer {
174
+ constructor() {
175
+ Base64UrlSerializer_instance = this;
176
+ this.l2n_1 = PrimitiveSerialDescriptor('Base64Url', STRING_getInstance());
177
+ }
178
+ av() {
179
+ return this.l2n_1;
180
+ }
181
+ m2n(encoder, value) {
182
+ return encoder.u10(encodeToBase64(value, true));
183
+ }
184
+ nv(encoder, value) {
185
+ return this.m2n(encoder, (!(value == null) ? isByteArray(value) : false) ? value : THROW_CCE());
186
+ }
187
+ ov(decoder) {
188
+ var str = decoder.lz();
189
+ return decodeFromBase64(str, true);
190
+ }
191
+ }
192
+ class Base64Serializer {
193
+ constructor() {
194
+ Base64Serializer_instance = this;
195
+ this.n2n_1 = PrimitiveSerialDescriptor('Base64', STRING_getInstance());
196
+ }
197
+ av() {
198
+ return this.n2n_1;
199
+ }
200
+ m2n(encoder, value) {
201
+ return encoder.u10(encodeToBase64(value, false));
202
+ }
203
+ nv(encoder, value) {
204
+ return this.m2n(encoder, (!(value == null) ? isByteArray(value) : false) ? value : THROW_CCE());
205
+ }
206
+ ov(decoder) {
207
+ var str = decoder.lz();
208
+ return decodeFromBase64(str, false);
209
+ }
210
+ }
211
+ class Companion {
212
+ ok(value) {
213
+ return (new Ok_0(value)).asResult();
214
+ }
215
+ err(error) {
216
+ return (new Err_0(error)).asResult();
217
+ }
218
+ }
219
+ class IdkResult {
220
+ constructor(result) {
221
+ this.o2n_1 = result;
222
+ }
223
+ p2n() {
224
+ return this.o2n_1;
225
+ }
226
+ q2n() {
227
+ return _Result___get_isOk__impl__qbhaup(this.o2n_1);
228
+ }
229
+ r2n() {
230
+ return _Result___get_isErr__impl__gwfsa6(this.o2n_1);
231
+ }
232
+ h4() {
233
+ return _Result___get_value__impl__bjfvqg(this.o2n_1);
234
+ }
235
+ s2n() {
236
+ return _Result___get_error__impl__ihqhun(this.o2n_1);
237
+ }
238
+ component1() {
239
+ return this.get();
240
+ }
241
+ component2() {
242
+ return this.getErrorOrNull();
243
+ }
244
+ toString() {
245
+ return Result__toString_impl_yu5r8k(this.o2n_1);
246
+ }
247
+ onSuccess(action) {
248
+ // Inline function 'com.github.michaelbull.result.onSuccess' call
249
+ var this_0 = this.o2n_1;
250
+ if (_Result___get_isOk__impl__qbhaup(this_0)) {
251
+ action(_Result___get_value__impl__bjfvqg(this_0));
252
+ }
253
+ return this;
254
+ }
255
+ onFailure(action) {
256
+ // Inline function 'com.github.michaelbull.result.onFailure' call
257
+ var this_0 = this.o2n_1;
258
+ if (_Result___get_isErr__impl__gwfsa6(this_0)) {
259
+ action(_Result___get_error__impl__ihqhun(this_0));
260
+ }
261
+ return this;
262
+ }
263
+ map(transform) {
264
+ // Inline function 'com.github.michaelbull.result.map' call
265
+ var this_0 = this.o2n_1;
266
+ var tmp;
267
+ if (_Result___get_isOk__impl__qbhaup(this_0)) {
268
+ tmp = Ok(transform(_Result___get_value__impl__bjfvqg(this_0)));
269
+ } else {
270
+ // Inline function 'com.github.michaelbull.result.asErr' call
271
+ tmp = new Result(this_0) instanceof Result ? this_0 : THROW_CCE();
272
+ }
273
+ var tmp$ret$0 = tmp;
274
+ return new IdkResult(tmp$ret$0);
275
+ }
276
+ mapError(transform) {
277
+ // Inline function 'com.github.michaelbull.result.mapError' call
278
+ var this_0 = this.o2n_1;
279
+ var tmp;
280
+ if (_Result___get_isErr__impl__gwfsa6(this_0)) {
281
+ tmp = Err(transform(_Result___get_error__impl__ihqhun(this_0)));
282
+ } else {
283
+ // Inline function 'com.github.michaelbull.result.asOk' call
284
+ tmp = new Result(this_0) instanceof Result ? this_0 : THROW_CCE();
285
+ }
286
+ var tmp$ret$0 = tmp;
287
+ return new IdkResult(tmp$ret$0);
288
+ }
289
+ flatMap(transform) {
290
+ // Inline function 'com.github.michaelbull.result.flatMap' call
291
+ // Inline function 'com.github.michaelbull.result.andThen' call
292
+ var this_0 = this.o2n_1;
293
+ var tmp;
294
+ if (_Result___get_isOk__impl__qbhaup(this_0)) {
295
+ tmp = transform(_Result___get_value__impl__bjfvqg(this_0)).o2n_1;
296
+ } else {
297
+ // Inline function 'com.github.michaelbull.result.asErr' call
298
+ tmp = new Result(this_0) instanceof Result ? this_0 : THROW_CCE();
299
+ }
300
+ var tmp$ret$0 = tmp;
301
+ return new IdkResult(tmp$ret$0);
302
+ }
303
+ andThen(transform) {
304
+ // Inline function 'com.github.michaelbull.result.andThen' call
305
+ var this_0 = this.o2n_1;
306
+ var tmp;
307
+ if (_Result___get_isOk__impl__qbhaup(this_0)) {
308
+ tmp = transform(_Result___get_value__impl__bjfvqg(this_0)).o2n_1;
309
+ } else {
310
+ // Inline function 'com.github.michaelbull.result.asErr' call
311
+ tmp = new Result(this_0) instanceof Result ? this_0 : THROW_CCE();
312
+ }
313
+ var tmp$ret$0 = tmp;
314
+ return new IdkResult(tmp$ret$0);
315
+ }
316
+ recover(transform) {
317
+ // Inline function 'com.github.michaelbull.result.recover' call
318
+ var this_0 = this.o2n_1;
319
+ var tmp;
320
+ if (_Result___get_isOk__impl__qbhaup(this_0)) {
321
+ // Inline function 'com.github.michaelbull.result.asOk' call
322
+ tmp = new Result(this_0) instanceof Result ? this_0 : THROW_CCE();
323
+ } else {
324
+ tmp = Ok(transform(_Result___get_error__impl__ihqhun(this_0)));
325
+ }
326
+ var tmp$ret$0 = tmp;
327
+ return new IdkResult(tmp$ret$0);
328
+ }
329
+ getOr(defaultValue) {
330
+ return getOr(this.o2n_1, defaultValue);
331
+ }
332
+ getOrElse(transform) {
333
+ // Inline function 'com.github.michaelbull.result.getOrElse' call
334
+ var this_0 = this.o2n_1;
335
+ return _Result___get_isOk__impl__qbhaup(this_0) ? _Result___get_value__impl__bjfvqg(this_0) : transform(_Result___get_error__impl__ihqhun(this_0));
336
+ }
337
+ fold(success, failure) {
338
+ // Inline function 'com.github.michaelbull.result.fold' call
339
+ // Inline function 'com.github.michaelbull.result.mapBoth' call
340
+ var this_0 = this.o2n_1;
341
+ return _Result___get_isOk__impl__qbhaup(this_0) ? success(_Result___get_value__impl__bjfvqg(this_0)) : failure(_Result___get_error__impl__ihqhun(this_0));
342
+ }
343
+ mapBoth(success, failure) {
344
+ // Inline function 'com.github.michaelbull.result.mapBoth' call
345
+ var this_0 = this.o2n_1;
346
+ return _Result___get_isOk__impl__qbhaup(this_0) ? success(_Result___get_value__impl__bjfvqg(this_0)) : failure(_Result___get_error__impl__ihqhun(this_0));
347
+ }
348
+ get() {
349
+ return get(this.o2n_1);
350
+ }
351
+ getErrorOrNull() {
352
+ return getError(this.o2n_1);
353
+ }
354
+ getOrNull() {
355
+ return this.get();
356
+ }
357
+ errorOrNull() {
358
+ return this.getErrorOrNull();
359
+ }
360
+ getOrThrow() {
361
+ if (this.isOk)
362
+ return this.value;
363
+ var err = this.error;
364
+ var tmp;
365
+ if (err instanceof Error) {
366
+ tmp = err;
367
+ } else {
368
+ if (!(err == null) ? isInterface(err, IdkErrorType) : false) {
369
+ tmp = toException(err);
370
+ } else {
371
+ tmp = IllegalStateException.o('Result contained error: ' + toString_1(err));
372
+ }
373
+ }
374
+ throw tmp;
375
+ }
376
+ get isOk() {
377
+ return this.q2n();
378
+ }
379
+ get isErr() {
380
+ return this.r2n();
381
+ }
382
+ get value() {
383
+ return this.h4();
384
+ }
385
+ get error() {
386
+ return this.s2n();
387
+ }
388
+ }
389
+ class Ok_0 extends IdkResult {
390
+ constructor(_value) {
391
+ super(Ok(_value));
392
+ this.u2n_1 = _value;
393
+ }
394
+ h4() {
395
+ return this.u2n_1;
396
+ }
397
+ asResult() {
398
+ return this instanceof IdkResult ? this : THROW_CCE();
399
+ }
400
+ toString() {
401
+ return 'Ok(' + toString_1(this.value) + ')';
402
+ }
403
+ equals(other) {
404
+ var tmp;
405
+ if (other instanceof Ok_0) {
406
+ tmp = equals(this.value, other.value);
407
+ } else {
408
+ tmp = false;
409
+ }
410
+ return tmp;
411
+ }
412
+ hashCode() {
413
+ // Inline function 'kotlin.hashCode' call
414
+ var tmp0_safe_receiver = this.value;
415
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
416
+ return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
417
+ }
418
+ }
419
+ class Err_0 extends IdkResult {
420
+ constructor(_error) {
421
+ super(Err(_error));
422
+ this.w2n_1 = _error;
423
+ }
424
+ s2n() {
425
+ return this.w2n_1;
426
+ }
427
+ asResult() {
428
+ return this instanceof IdkResult ? this : THROW_CCE();
429
+ }
430
+ toString() {
431
+ return 'Err(' + toString_1(this.error) + ')';
432
+ }
433
+ equals(other) {
434
+ var tmp;
435
+ if (other instanceof Err_0) {
436
+ tmp = equals(this.error, other.error);
437
+ } else {
438
+ tmp = false;
439
+ }
440
+ return tmp;
441
+ }
442
+ hashCode() {
443
+ // Inline function 'kotlin.hashCode' call
444
+ var tmp0_safe_receiver = this.error;
445
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
446
+ return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
447
+ }
448
+ }
449
+ class IdkErrorType {}
450
+ function get_category() {
451
+ return ErrorCategory_INTERNAL_getInstance();
452
+ }
453
+ class Severity extends Enum {
454
+ constructor(name, ordinal, value) {
455
+ super(name, ordinal);
456
+ this.value = value;
457
+ }
458
+ h4() {
459
+ return this.value;
460
+ }
461
+ isAtLeast(severity) {
462
+ return this.value >= severity.value;
463
+ }
464
+ isAtMost(severity) {
465
+ return this.value <= severity.value;
466
+ }
467
+ get name() {
468
+ return this.b1();
469
+ }
470
+ get ordinal() {
471
+ return this.a5();
472
+ }
473
+ }
474
+ class Message {
475
+ constructor(i18nKey, i18nParams, defaultMessage) {
476
+ i18nParams = i18nParams === VOID ? emptyMap() : i18nParams;
477
+ this.i18nKey = i18nKey;
478
+ this.i18nParams = i18nParams;
479
+ this.defaultMessage = defaultMessage;
480
+ }
481
+ f2o() {
482
+ return this.i18nKey;
483
+ }
484
+ g2o() {
485
+ return this.i18nParams;
486
+ }
487
+ h2o() {
488
+ return this.defaultMessage;
489
+ }
490
+ nk() {
491
+ return this.i18nKey;
492
+ }
493
+ ok() {
494
+ return this.i18nParams;
495
+ }
496
+ tr() {
497
+ return this.defaultMessage;
498
+ }
499
+ i2o(i18nKey, i18nParams, defaultMessage) {
500
+ return new Message(i18nKey, i18nParams, defaultMessage);
501
+ }
502
+ copy(i18nKey, i18nParams, defaultMessage, $super) {
503
+ i18nKey = i18nKey === VOID ? this.i18nKey : i18nKey;
504
+ i18nParams = i18nParams === VOID ? this.i18nParams : i18nParams;
505
+ defaultMessage = defaultMessage === VOID ? this.defaultMessage : defaultMessage;
506
+ return $super === VOID ? this.i2o(i18nKey, i18nParams, defaultMessage) : $super.i2o.call(this, i18nKey, i18nParams, defaultMessage);
507
+ }
508
+ toString() {
509
+ return 'Message(i18nKey=' + this.i18nKey + ', i18nParams=' + toString_0(this.i18nParams) + ', defaultMessage=' + this.defaultMessage + ')';
510
+ }
511
+ hashCode() {
512
+ var result = getStringHashCode(this.i18nKey);
513
+ result = imul(result, 31) + hashCode(this.i18nParams) | 0;
514
+ result = imul(result, 31) + getStringHashCode(this.defaultMessage) | 0;
515
+ return result;
516
+ }
517
+ equals(other) {
518
+ if (this === other)
519
+ return true;
520
+ if (!(other instanceof Message))
521
+ return false;
522
+ if (!(this.i18nKey === other.i18nKey))
523
+ return false;
524
+ if (!equals(this.i18nParams, other.i18nParams))
525
+ return false;
526
+ if (!(this.defaultMessage === other.defaultMessage))
527
+ return false;
528
+ return true;
529
+ }
530
+ }
531
+ class Companion_0 {
532
+ j2o(error) {
533
+ var tmp0_code = error.code;
534
+ var tmp1_message = error.message;
535
+ var tmp2_severity = error.severity;
536
+ var tmp3_category = error.category;
537
+ var tmp4_exception = error.exception;
538
+ var tmp5_causes = error.causes;
539
+ var tmp6_meta = error.meta;
540
+ return new IdkError(tmp0_code, tmp1_message, tmp2_severity, tmp3_category, tmp5_causes, tmp6_meta, tmp4_exception);
541
+ }
542
+ k2o(message, code, exception, i18nKey, severity, category) {
543
+ return new IdkError(code, new Message(i18nKey, VOID, message), severity, category, VOID, VOID, exception);
544
+ }
545
+ l2o(message, code, exception, i18nKey, severity, category, $super) {
546
+ code = code === VOID ? 'UNKNOWN_ERROR' : code;
547
+ exception = exception === VOID ? null : exception;
548
+ i18nKey = i18nKey === VOID ? message : i18nKey;
549
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
550
+ category = category === VOID ? ErrorCategory_INTERNAL_getInstance() : category;
551
+ return $super === VOID ? this.k2o(message, code, exception, i18nKey, severity, category) : $super.k2o.call(this, message, code, exception, i18nKey, severity, category);
552
+ }
553
+ m2o(definition, i18nParams, causes, meta, severity, category, exception) {
554
+ var tmp0_code = definition.code;
555
+ var tmp1_message = new Message(definition.i18nKey, i18nParams, definition.defaultMessage);
556
+ return new IdkError(tmp0_code, tmp1_message, severity, category, causes, meta, exception);
557
+ }
558
+ n2o(definition, i18nParams, causes, meta, severity, category, exception, $super) {
559
+ i18nParams = i18nParams === VOID ? emptyMap() : i18nParams;
560
+ causes = causes === VOID ? emptyList() : causes;
561
+ meta = meta === VOID ? emptyMap() : meta;
562
+ severity = severity === VOID ? definition.severity : severity;
563
+ category = category === VOID ? definition.category : category;
564
+ exception = exception === VOID ? null : exception;
565
+ return $super === VOID ? this.m2o(definition, i18nParams, causes, meta, severity, category, exception) : $super.m2o.call(this, definition, i18nParams, causes, meta, severity, category, exception);
566
+ }
567
+ o2o(severity, causes, message, exception) {
568
+ return new IdkError('UNKNOWN_ERROR', new Message('com.sphereon.core.error.unknown-error', VOID, message), severity, ErrorCategory_INTERNAL_getInstance(), causes, VOID, exception);
569
+ }
570
+ p2o(severity, causes, message, exception, $super) {
571
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
572
+ causes = causes === VOID ? emptyList() : causes;
573
+ message = message === VOID ? 'An unknown error occurred' : message;
574
+ exception = exception === VOID ? null : exception;
575
+ return $super === VOID ? this.o2o(severity, causes, message, exception) : $super.o2o.call(this, severity, causes, message, exception);
576
+ }
577
+ q2o(severity, causes, arg, message, throwable) {
578
+ return new IdkError('ILLEGAL_ARGUMENT_ERROR', new Message('com.sphereon.core.error.illegal-argument-error', VOID, message), severity, ErrorCategory_VALIDATION_getInstance(), causes, VOID, throwable);
579
+ }
580
+ r2o(severity, causes, arg, message, throwable, $super) {
581
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
582
+ causes = causes === VOID ? emptyList() : causes;
583
+ arg = arg === VOID ? null : arg;
584
+ var tmp;
585
+ if (message === VOID) {
586
+ var tmp_0;
587
+ if (arg == null) {
588
+ tmp_0 = null;
589
+ } else {
590
+ // Inline function 'kotlin.let' call
591
+ tmp_0 = ': ' + toString_0(arg);
592
+ }
593
+ var tmp1_elvis_lhs = tmp_0;
594
+ tmp = 'An illegal argument was supplied' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
595
+ } else {
596
+ tmp = message;
597
+ }
598
+ message = tmp;
599
+ throwable = throwable === VOID ? null : throwable;
600
+ return $super === VOID ? this.q2o(severity, causes, arg, message, throwable) : $super.q2o.call(this, severity, causes, arg, message, throwable);
601
+ }
602
+ s2o(severity, causes, command, arg, message, throwable) {
603
+ return new IdkError('COMMAND_ARG_NOT_SUPPORTED_ERROR', new Message('com.sphereon.core.error.command-argument-not-supported-error', VOID, message), severity, ErrorCategory_VALIDATION_getInstance(), causes, VOID, throwable);
604
+ }
605
+ t2o(severity, causes, command, arg, message, throwable, $super) {
606
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
607
+ causes = causes === VOID ? emptyList() : causes;
608
+ command = command === VOID ? null : command;
609
+ arg = arg === VOID ? null : arg;
610
+ var tmp;
611
+ if (message === VOID) {
612
+ var tmp0_safe_receiver = (!(command == null) ? isInterface(command, Command) : false) ? command : null;
613
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n2c();
614
+ var tmp_0 = tmp1_elvis_lhs == null ? '<unknown>' : tmp1_elvis_lhs;
615
+ var tmp_1;
616
+ if (arg == null) {
617
+ tmp_1 = null;
618
+ } else {
619
+ // Inline function 'kotlin.let' call
620
+ tmp_1 = ': ' + toString_0(arg);
621
+ }
622
+ var tmp3_elvis_lhs = tmp_1;
623
+ tmp = 'The command ' + tmp_0 + ' does not support the argument' + (tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
624
+ } else {
625
+ tmp = message;
626
+ }
627
+ message = tmp;
628
+ throwable = throwable === VOID ? null : throwable;
629
+ return $super === VOID ? this.s2o(severity, causes, command, arg, message, throwable) : $super.s2o.call(this, severity, causes, command, arg, message, throwable);
630
+ }
631
+ u2o(severity, causes, resource, message, throwable) {
632
+ return new IdkError('NOT_FOUND_ERROR', new Message('com.sphereon.core.error.not-found-error', VOID, message), severity, ErrorCategory_NOT_FOUND_getInstance(), causes, VOID, throwable);
633
+ }
634
+ v2o(severity, causes, resource, message, throwable, $super) {
635
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
636
+ causes = causes === VOID ? emptyList() : causes;
637
+ resource = resource === VOID ? null : resource;
638
+ var tmp;
639
+ if (message === VOID) {
640
+ var tmp_0;
641
+ if (resource == null) {
642
+ tmp_0 = null;
643
+ } else {
644
+ // Inline function 'kotlin.let' call
645
+ tmp_0 = ': ' + resource;
646
+ }
647
+ var tmp1_elvis_lhs = tmp_0;
648
+ tmp = 'Not found' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
649
+ } else {
650
+ tmp = message;
651
+ }
652
+ message = tmp;
653
+ throwable = throwable === VOID ? null : throwable;
654
+ return $super === VOID ? this.u2o(severity, causes, resource, message, throwable) : $super.u2o.call(this, severity, causes, resource, message, throwable);
655
+ }
656
+ w2o(commandId, severity, causes, throwable) {
657
+ var tmp0_message = new Message('com.sphereon.core.error.command-disabled', mapOf(to('commandId', commandId)), "Command '" + commandId + "' is disabled");
658
+ var tmp1_category = ErrorCategory_UNAVAILABLE_getInstance();
659
+ var tmp2_meta = mapOf(to('commandId', commandId));
660
+ return new IdkError('COMMAND_DISABLED', tmp0_message, severity, tmp1_category, causes, tmp2_meta, throwable);
661
+ }
662
+ x2o(commandId, severity, causes, throwable, $super) {
663
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
664
+ causes = causes === VOID ? emptyList() : causes;
665
+ throwable = throwable === VOID ? null : throwable;
666
+ return $super === VOID ? this.w2o(commandId, severity, causes, throwable) : $super.w2o.call(this, commandId, severity, causes, throwable);
667
+ }
668
+ y2o(commandId, reason, severity, causes, throwable) {
669
+ var tmp = to('commandId', commandId);
670
+ var tmp_0 = mapOf_0([tmp, to('reason', reason == null ? 'skipped by extension' : reason)]);
671
+ var tmp_1 = "Command '" + commandId + "' was skipped";
672
+ var tmp_2;
673
+ if (reason == null) {
674
+ tmp_2 = null;
675
+ } else {
676
+ // Inline function 'kotlin.let' call
677
+ tmp_2 = ': ' + reason;
678
+ }
679
+ var tmp2_elvis_lhs = tmp_2;
680
+ var tmp3_message = new Message('com.sphereon.core.error.command-skipped', tmp_0, tmp_1 + (tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs));
681
+ var tmp4_category = ErrorCategory_INTERNAL_getInstance();
682
+ var tmp5_meta = mapOf_0([to('commandId', commandId), to('reason', reason)]);
683
+ return new IdkError('COMMAND_SKIPPED', tmp3_message, severity, tmp4_category, causes, tmp5_meta, throwable);
684
+ }
685
+ z2o(commandId, reason, severity, causes, throwable, $super) {
686
+ reason = reason === VOID ? null : reason;
687
+ severity = severity === VOID ? Severity_INFO_getInstance() : severity;
688
+ causes = causes === VOID ? emptyList() : causes;
689
+ throwable = throwable === VOID ? null : throwable;
690
+ return $super === VOID ? this.y2o(commandId, reason, severity, causes, throwable) : $super.y2o.call(this, commandId, reason, severity, causes, throwable);
691
+ }
692
+ a2p(commandId, reason, actor, severity, causes, throwable) {
693
+ var tmp = to('commandId', commandId);
694
+ var tmp_0 = to('reason', reason);
695
+ var tmp1_message = new Message('com.sphereon.core.error.command-not-authorized', mapOf_0([tmp, tmp_0, to('actor', actor == null ? 'unknown' : actor)]), "Not authorized to execute '" + commandId + "': " + reason);
696
+ var tmp2_category = ErrorCategory_FORBIDDEN_getInstance();
697
+ var tmp3_meta = mapOf_0([to('commandId', commandId), to('reason', reason), to('actor', actor)]);
698
+ return new IdkError('COMMAND_NOT_AUTHORIZED', tmp1_message, severity, tmp2_category, causes, tmp3_meta, throwable);
699
+ }
700
+ b2p(commandId, reason, actor, severity, causes, throwable, $super) {
701
+ actor = actor === VOID ? null : actor;
702
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
703
+ causes = causes === VOID ? emptyList() : causes;
704
+ throwable = throwable === VOID ? null : throwable;
705
+ return $super === VOID ? this.a2p(commandId, reason, actor, severity, causes, throwable) : $super.a2p.call(this, commandId, reason, actor, severity, causes, throwable);
706
+ }
707
+ c2p(errors, severity, throwable) {
708
+ // Inline function 'kotlin.collections.map' call
709
+ // Inline function 'kotlin.collections.mapTo' call
710
+ var destination = ArrayList.j2(collectionSizeOrDefault(errors, 10));
711
+ var _iterator__ex2g4s = errors.j1();
712
+ while (_iterator__ex2g4s.k1()) {
713
+ var item = _iterator__ex2g4s.l1();
714
+ var tmp$ret$2 = item.message.defaultMessage;
715
+ destination.k2(tmp$ret$2);
716
+ }
717
+ var tmp0_message = new Message('com.sphereon.core.error.all-handlers-failed', VOID, 'All handlers failed: ' + joinToString(destination, '; '));
718
+ var tmp1_category = ErrorCategory_INTERNAL_getInstance();
719
+ var tmp2_meta = mapOf(to('errorCount', errors.m2()));
720
+ return new IdkError('ALL_HANDLERS_FAILED', tmp0_message, severity, tmp1_category, errors, tmp2_meta, throwable);
721
+ }
722
+ d2p(errors, severity, throwable, $super) {
723
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
724
+ throwable = throwable === VOID ? null : throwable;
725
+ return $super === VOID ? this.c2p(errors, severity, throwable) : $super.c2p.call(this, errors, severity, throwable);
726
+ }
727
+ e2p(message, severity, causes, throwable) {
728
+ return new IdkError('UNAUTHORIZED', new Message('com.sphereon.core.error.unauthorized', VOID, message), severity, ErrorCategory_UNAUTHORIZED_getInstance(), causes, VOID, throwable);
729
+ }
730
+ f2p(message, severity, causes, throwable, $super) {
731
+ message = message === VOID ? 'Unauthorized' : message;
732
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
733
+ causes = causes === VOID ? emptyList() : causes;
734
+ throwable = throwable === VOID ? null : throwable;
735
+ return $super === VOID ? this.e2p(message, severity, causes, throwable) : $super.e2p.call(this, message, severity, causes, throwable);
736
+ }
737
+ g2p(message, severity, causes, throwable) {
738
+ return new IdkError('FORBIDDEN', new Message('com.sphereon.core.error.forbidden', VOID, message), severity, ErrorCategory_FORBIDDEN_getInstance(), causes, VOID, throwable);
739
+ }
740
+ h2p(message, severity, causes, throwable, $super) {
741
+ message = message === VOID ? 'Access forbidden' : message;
742
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
743
+ causes = causes === VOID ? emptyList() : causes;
744
+ throwable = throwable === VOID ? null : throwable;
745
+ return $super === VOID ? this.g2p(message, severity, causes, throwable) : $super.g2p.call(this, message, severity, causes, throwable);
746
+ }
747
+ i2p(severity, causes, resource, message, throwable) {
748
+ return new IdkError('ALREADY_EXISTS_ERROR', new Message('com.sphereon.core.error.already-exists-error', VOID, message), severity, ErrorCategory_CONFLICT_getInstance(), causes, VOID, throwable);
749
+ }
750
+ j2p(severity, causes, resource, message, throwable, $super) {
751
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
752
+ causes = causes === VOID ? emptyList() : causes;
753
+ resource = resource === VOID ? null : resource;
754
+ var tmp;
755
+ if (message === VOID) {
756
+ var tmp_0;
757
+ if (resource == null) {
758
+ tmp_0 = null;
759
+ } else {
760
+ // Inline function 'kotlin.let' call
761
+ tmp_0 = ': ' + resource;
762
+ }
763
+ var tmp1_elvis_lhs = tmp_0;
764
+ tmp = 'Already exists' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
765
+ } else {
766
+ tmp = message;
767
+ }
768
+ message = tmp;
769
+ throwable = throwable === VOID ? null : throwable;
770
+ return $super === VOID ? this.i2p(severity, causes, resource, message, throwable) : $super.i2p.call(this, severity, causes, resource, message, throwable);
771
+ }
772
+ k2p(severity, causes, message, throwable) {
773
+ return new IdkError('INVALID_STATE', new Message('com.sphereon.core.error.invalid-state', VOID, message), severity, ErrorCategory_CONFLICT_getInstance(), causes, VOID, throwable);
774
+ }
775
+ l2p(severity, causes, message, throwable, $super) {
776
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
777
+ causes = causes === VOID ? emptyList() : causes;
778
+ message = message === VOID ? 'Invalid state' : message;
779
+ throwable = throwable === VOID ? null : throwable;
780
+ return $super === VOID ? this.k2p(severity, causes, message, throwable) : $super.k2p.call(this, severity, causes, message, throwable);
781
+ }
782
+ }
783
+ class IdkError {
784
+ constructor(code, message, severity, category, causes, meta, exception) {
785
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
786
+ category = category === VOID ? ErrorCategory_INTERNAL_getInstance() : category;
787
+ var tmp;
788
+ if (causes === VOID) {
789
+ // Inline function 'kotlin.collections.mutableListOf' call
790
+ tmp = ArrayList.r2();
791
+ } else {
792
+ tmp = causes;
793
+ }
794
+ causes = tmp;
795
+ var tmp_0;
796
+ if (meta === VOID) {
797
+ // Inline function 'kotlin.collections.mutableMapOf' call
798
+ tmp_0 = LinkedHashMap.v5();
799
+ } else {
800
+ tmp_0 = meta;
801
+ }
802
+ meta = tmp_0;
803
+ exception = exception === VOID ? null : exception;
804
+ this.m2p_1 = code;
805
+ this.n2p_1 = message;
806
+ this.o2p_1 = severity;
807
+ this.p2p_1 = category;
808
+ this.q2p_1 = causes;
809
+ this.r2p_1 = meta;
810
+ this.s2p_1 = exception;
811
+ }
812
+ x2n() {
813
+ return this.m2p_1;
814
+ }
815
+ p() {
816
+ return this.n2p_1;
817
+ }
818
+ y2n() {
819
+ return this.o2p_1;
820
+ }
821
+ z2n() {
822
+ return this.p2p_1;
823
+ }
824
+ b2o() {
825
+ return this.q2p_1;
826
+ }
827
+ c2o() {
828
+ return this.r2p_1;
829
+ }
830
+ a2o() {
831
+ return this.s2p_1;
832
+ }
833
+ hasException() {
834
+ return !(this.exception == null);
835
+ }
836
+ hasCauses() {
837
+ // Inline function 'kotlin.collections.isNotEmpty' call
838
+ return !this.causes.h1();
839
+ }
840
+ hasMeta() {
841
+ // Inline function 'kotlin.collections.isNotEmpty' call
842
+ return !this.meta.h1();
843
+ }
844
+ addCause(cause) {
845
+ // Inline function 'kotlin.apply' call
846
+ var tmp = this.causes;
847
+ (isInterface(tmp, KtMutableList) ? tmp : THROW_CCE()).k2(cause);
848
+ return this;
849
+ }
850
+ toString() {
851
+ return "IdkError(code='" + this.code + "', category=" + this.category.toString() + ', severity=' + this.severity.toString() + ', message=' + this.message.toString() + ', causes=' + toString_0(this.causes) + ', meta=' + toString_0(this.meta) + ', exception=' + toString_1(this.exception) + ')';
852
+ }
853
+ get code() {
854
+ return this.x2n();
855
+ }
856
+ get message() {
857
+ return this.p();
858
+ }
859
+ get severity() {
860
+ return this.y2n();
861
+ }
862
+ get category() {
863
+ return this.z2n();
864
+ }
865
+ get causes() {
866
+ return this.b2o();
867
+ }
868
+ get meta() {
869
+ return this.c2o();
870
+ }
871
+ get exception() {
872
+ return this.a2o();
873
+ }
874
+ }
875
+ class ErrorDefinitionType {}
876
+ function get_category_0() {
877
+ return ErrorCategory_INTERNAL_getInstance();
878
+ }
879
+ function asError(i18nParams, exception, causes, meta, severity, category) {
880
+ return Companion_instance_0.n2o(this, i18nParams, causes, meta, severity, category, exception);
881
+ }
882
+ function asError_0(i18nParams, exception, causes, meta, severity, category, $super) {
883
+ i18nParams = i18nParams === VOID ? emptyMap() : i18nParams;
884
+ exception = exception === VOID ? null : exception;
885
+ causes = causes === VOID ? emptyList() : causes;
886
+ meta = meta === VOID ? emptyMap() : meta;
887
+ severity = severity === VOID ? this.severity : severity;
888
+ category = category === VOID ? this.category : category;
889
+ return $super === VOID ? this.t2p(i18nParams, exception, causes, meta, severity, category) : VOID.asError(i18nParams, exception, causes, meta, severity, category);
890
+ }
891
+ function asResult(i18nParams, exception, causes, meta, severity, category) {
892
+ return IdkErrorResult(this.asError(i18nParams, exception, causes, meta, severity, category));
893
+ }
894
+ function asResult_0(i18nParams, exception, causes, meta, severity, category, $super) {
895
+ i18nParams = i18nParams === VOID ? emptyMap() : i18nParams;
896
+ exception = exception === VOID ? null : exception;
897
+ causes = causes === VOID ? emptyList() : causes;
898
+ meta = meta === VOID ? emptyMap() : meta;
899
+ severity = severity === VOID ? this.severity : severity;
900
+ category = category === VOID ? this.category : category;
901
+ return $super === VOID ? this.u2p(i18nParams, exception, causes, meta, severity, category) : VOID.asResult(i18nParams, exception, causes, meta, severity, category);
902
+ }
903
+ class Companion_1 {
904
+ constructor() {
905
+ Companion_instance_1 = this;
906
+ var tmp = this;
907
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
908
+ tmp.v2p_1 = lazy(tmp_0, ErrorCategory$Companion$_anonymous__624p1z);
909
+ }
910
+ l1l() {
911
+ return _get_$cachedSerializer__te6jhj(this);
912
+ }
913
+ k18(typeParamsSerializers) {
914
+ return this.l1l();
915
+ }
916
+ }
917
+ class ErrorCategory extends Enum {
918
+ get name() {
919
+ return this.b1();
920
+ }
921
+ get ordinal() {
922
+ return this.a5();
923
+ }
924
+ }
925
+ class NotFoundException extends RuntimeException {
926
+ static c2q(resource, message, cause) {
927
+ message = message === VOID ? null : message;
928
+ cause = cause === VOID ? null : cause;
929
+ var $this = this.rd(message, cause);
930
+ captureStack($this, $this.b2q_1);
931
+ $this.a2q_1 = resource;
932
+ return $this;
933
+ }
934
+ toString() {
935
+ return "NotFoundException(resource='" + this.a2q_1 + "', message=" + this.message + ', cause=' + toString_1(this.cause) + ')';
936
+ }
937
+ }
938
+ class EventSubsystems {
939
+ constructor() {
940
+ EventSubsystems_instance = this;
941
+ this.d2q_1 = _EventSubsystem___init__impl__pcibv0('crypto');
942
+ this.e2q_1 = _EventSubsystem___init__impl__pcibv0('kms');
943
+ this.f2q_1 = _EventSubsystem___init__impl__pcibv0('mdoc');
944
+ this.g2q_1 = _EventSubsystem___init__impl__pcibv0('sdjwt');
945
+ this.h2q_1 = _EventSubsystem___init__impl__pcibv0('oauth');
946
+ this.i2q_1 = _EventSubsystem___init__impl__pcibv0('oid4vp');
947
+ this.j2q_1 = _EventSubsystem___init__impl__pcibv0('oid4vci');
948
+ this.k2q_1 = _EventSubsystem___init__impl__pcibv0('http');
949
+ this.l2q_1 = _EventSubsystem___init__impl__pcibv0('session');
950
+ this.m2q_1 = _EventSubsystem___init__impl__pcibv0('events');
951
+ this.n2q_1 = _EventSubsystem___init__impl__pcibv0('custom');
952
+ }
953
+ }
954
+ class JsonSupport {
955
+ constructor() {
956
+ JsonSupport_instance = this;
957
+ var tmp = this;
958
+ // Inline function 'kotlin.collections.mutableListOf' call
959
+ tmp.o2q_1 = ArrayList.r2();
960
+ var tmp_0 = this;
961
+ // Inline function 'kotlin.collections.mutableSetOf' call
962
+ tmp_0.p2q_1 = LinkedHashSet.o2();
963
+ }
964
+ q2q(registrationId, block) {
965
+ if (!(registrationId == null)) {
966
+ if (!this.p2q_1.k2(registrationId)) {
967
+ return Unit_instance;
968
+ }
969
+ }
970
+ // Inline function 'kotlin.collections.plusAssign' call
971
+ this.o2q_1.k2(block);
972
+ }
973
+ register(registrationId, block, $super) {
974
+ registrationId = registrationId === VOID ? null : registrationId;
975
+ var tmp;
976
+ if ($super === VOID) {
977
+ this.q2q(registrationId, block);
978
+ tmp = Unit_instance;
979
+ } else {
980
+ tmp = $super.q2q.call(this, registrationId, block);
981
+ }
982
+ return tmp;
983
+ }
984
+ r2q() {
985
+ // Inline function 'kotlinx.serialization.modules.SerializersModule' call
986
+ var builder = new SerializersModuleBuilder();
987
+ // Inline function 'kotlin.collections.forEach' call
988
+ var _iterator__ex2g4s = JsonSupport_getInstance().o2q_1.j1();
989
+ while (_iterator__ex2g4s.k1()) {
990
+ var element = _iterator__ex2g4s.l1();
991
+ element(builder);
992
+ }
993
+ return builder.i15();
994
+ }
995
+ s2q() {
996
+ return Json(VOID, JsonSupport$_get_serializer_$lambda_829ld7);
997
+ }
998
+ get module() {
999
+ return this.r2q();
1000
+ }
1001
+ get serializer() {
1002
+ return this.s2q();
1003
+ }
1004
+ }
1005
+ class LogOutputFormat extends Enum {
1006
+ get name() {
1007
+ return this.b1();
1008
+ }
1009
+ get ordinal() {
1010
+ return this.a5();
1011
+ }
1012
+ }
1013
+ class LogMessage {
1014
+ constructor(level, message, tag, exception, errorResult, metadata, timestamp) {
1015
+ level = level === VOID ? LogLevel_DEBUG_getInstance() : level;
1016
+ tag = tag === VOID ? null : tag;
1017
+ exception = exception === VOID ? null : exception;
1018
+ errorResult = errorResult === VOID ? null : errorResult;
1019
+ metadata = metadata === VOID ? null : metadata;
1020
+ timestamp = timestamp === VOID ? currentTimeMillis() : timestamp;
1021
+ this.level = level;
1022
+ this.message = message;
1023
+ this.tag = tag;
1024
+ this.exception = exception;
1025
+ this.errorResult = errorResult;
1026
+ this.metadata = metadata;
1027
+ this.timestamp = timestamp;
1028
+ }
1029
+ v2q() {
1030
+ return this.level;
1031
+ }
1032
+ p() {
1033
+ return this.message;
1034
+ }
1035
+ w2q() {
1036
+ return this.tag;
1037
+ }
1038
+ a2o() {
1039
+ return this.exception;
1040
+ }
1041
+ x2q() {
1042
+ return this.errorResult;
1043
+ }
1044
+ y2q() {
1045
+ return this.metadata;
1046
+ }
1047
+ z2q() {
1048
+ return this.timestamp;
1049
+ }
1050
+ nk() {
1051
+ return this.level;
1052
+ }
1053
+ ok() {
1054
+ return this.message;
1055
+ }
1056
+ tr() {
1057
+ return this.tag;
1058
+ }
1059
+ a2r() {
1060
+ return this.exception;
1061
+ }
1062
+ b2r() {
1063
+ return this.errorResult;
1064
+ }
1065
+ c2r() {
1066
+ return this.metadata;
1067
+ }
1068
+ d2r() {
1069
+ return this.timestamp;
1070
+ }
1071
+ e2r(level, message, tag, exception, errorResult, metadata, timestamp) {
1072
+ return new LogMessage(level, message, tag, exception, errorResult, metadata, timestamp);
1073
+ }
1074
+ copy(level, message, tag, exception, errorResult, metadata, timestamp, $super) {
1075
+ level = level === VOID ? this.level : level;
1076
+ message = message === VOID ? this.message : message;
1077
+ tag = tag === VOID ? this.tag : tag;
1078
+ exception = exception === VOID ? this.exception : exception;
1079
+ errorResult = errorResult === VOID ? this.errorResult : errorResult;
1080
+ metadata = metadata === VOID ? this.metadata : metadata;
1081
+ timestamp = timestamp === VOID ? this.timestamp : timestamp;
1082
+ return $super === VOID ? this.e2r(level, message, tag, exception, errorResult, metadata, timestamp) : $super.e2r.call(this, level, message, tag, exception, errorResult, metadata, timestamp);
1083
+ }
1084
+ toString() {
1085
+ return 'LogMessage(level=' + this.level.toString() + ', message=' + this.message + ', tag=' + this.tag + ', exception=' + toString_1(this.exception) + ', errorResult=' + toString_1(this.errorResult) + ', metadata=' + toString_1(this.metadata) + ', timestamp=' + this.timestamp.toString() + ')';
1086
+ }
1087
+ hashCode() {
1088
+ var result = this.level.hashCode();
1089
+ result = imul(result, 31) + getStringHashCode(this.message) | 0;
1090
+ result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
1091
+ result = imul(result, 31) + (this.exception == null ? 0 : hashCode(this.exception)) | 0;
1092
+ result = imul(result, 31) + (this.errorResult == null ? 0 : hashCode(this.errorResult)) | 0;
1093
+ result = imul(result, 31) + (this.metadata == null ? 0 : hashCode(this.metadata)) | 0;
1094
+ result = imul(result, 31) + getBigIntHashCode(this.timestamp) | 0;
1095
+ return result;
1096
+ }
1097
+ equals(other) {
1098
+ if (this === other)
1099
+ return true;
1100
+ if (!(other instanceof LogMessage))
1101
+ return false;
1102
+ if (!this.level.equals(other.level))
1103
+ return false;
1104
+ if (!(this.message === other.message))
1105
+ return false;
1106
+ if (!(this.tag == other.tag))
1107
+ return false;
1108
+ if (!equals(this.exception, other.exception))
1109
+ return false;
1110
+ if (!equals(this.errorResult, other.errorResult))
1111
+ return false;
1112
+ if (!equals(this.metadata, other.metadata))
1113
+ return false;
1114
+ if (!(this.timestamp === other.timestamp))
1115
+ return false;
1116
+ return true;
1117
+ }
1118
+ }
1119
+ class LogLevel extends Enum {
1120
+ constructor(name, ordinal, value) {
1121
+ super(name, ordinal);
1122
+ this.value = value;
1123
+ }
1124
+ h4() {
1125
+ return this.value;
1126
+ }
1127
+ toString() {
1128
+ return this.p1_1;
1129
+ }
1130
+ get name() {
1131
+ return this.b1();
1132
+ }
1133
+ get ordinal() {
1134
+ return this.a5();
1135
+ }
1136
+ }
1137
+ class Companion_2 {
1138
+ constructor() {
1139
+ Companion_instance_2 = this;
1140
+ this.h2r_1 = new LoggerConfig(LogLevel_OFF_getInstance());
1141
+ this.i2r_1 = new LoggerConfig(LogLevel_DEBUG_getInstance());
1142
+ this.j2r_1 = new LoggerConfig(LogLevel_DEBUG_getInstance());
1143
+ this.k2r_1 = new LoggerConfig(LogLevel_DEBUG_getInstance(), VOID, LogOutputFormat_JSON_getInstance(), true);
1144
+ }
1145
+ l2r() {
1146
+ return this.h2r_1;
1147
+ }
1148
+ m2r() {
1149
+ return this.i2r_1;
1150
+ }
1151
+ n2r() {
1152
+ return this.j2r_1;
1153
+ }
1154
+ o2r() {
1155
+ return this.k2r_1;
1156
+ }
1157
+ }
1158
+ class LoggerConfig {
1159
+ constructor(minLevel, tag, outputFormat, includeTimestamp) {
1160
+ Companion_getInstance_7();
1161
+ minLevel = minLevel === VOID ? LogLevel_DEBUG_getInstance() : minLevel;
1162
+ tag = tag === VOID ? 'sphereon' : tag;
1163
+ outputFormat = outputFormat === VOID ? LogOutputFormat_TEXT_getInstance() : outputFormat;
1164
+ includeTimestamp = includeTimestamp === VOID ? false : includeTimestamp;
1165
+ this.minLevel = minLevel;
1166
+ this.tag = tag;
1167
+ this.outputFormat = outputFormat;
1168
+ this.includeTimestamp = includeTimestamp;
1169
+ }
1170
+ p2r() {
1171
+ return this.minLevel;
1172
+ }
1173
+ w2q() {
1174
+ return this.tag;
1175
+ }
1176
+ q2r() {
1177
+ return this.outputFormat;
1178
+ }
1179
+ r2r() {
1180
+ return this.includeTimestamp;
1181
+ }
1182
+ isEnabled(level) {
1183
+ return level.value >= this.minLevel.value;
1184
+ }
1185
+ disable() {
1186
+ return this.copy(LogLevel_OFF_getInstance());
1187
+ }
1188
+ nk() {
1189
+ return this.minLevel;
1190
+ }
1191
+ ok() {
1192
+ return this.tag;
1193
+ }
1194
+ tr() {
1195
+ return this.outputFormat;
1196
+ }
1197
+ a2r() {
1198
+ return this.includeTimestamp;
1199
+ }
1200
+ s2r(minLevel, tag, outputFormat, includeTimestamp) {
1201
+ return new LoggerConfig(minLevel, tag, outputFormat, includeTimestamp);
1202
+ }
1203
+ copy(minLevel, tag, outputFormat, includeTimestamp, $super) {
1204
+ minLevel = minLevel === VOID ? this.minLevel : minLevel;
1205
+ tag = tag === VOID ? this.tag : tag;
1206
+ outputFormat = outputFormat === VOID ? this.outputFormat : outputFormat;
1207
+ includeTimestamp = includeTimestamp === VOID ? this.includeTimestamp : includeTimestamp;
1208
+ return $super === VOID ? this.s2r(minLevel, tag, outputFormat, includeTimestamp) : $super.s2r.call(this, minLevel, tag, outputFormat, includeTimestamp);
1209
+ }
1210
+ toString() {
1211
+ return 'LoggerConfig(minLevel=' + this.minLevel.toString() + ', tag=' + this.tag + ', outputFormat=' + this.outputFormat.toString() + ', includeTimestamp=' + this.includeTimestamp + ')';
1212
+ }
1213
+ hashCode() {
1214
+ var result = this.minLevel.hashCode();
1215
+ result = imul(result, 31) + getStringHashCode(this.tag) | 0;
1216
+ result = imul(result, 31) + this.outputFormat.hashCode() | 0;
1217
+ result = imul(result, 31) + getBooleanHashCode(this.includeTimestamp) | 0;
1218
+ return result;
1219
+ }
1220
+ equals(other) {
1221
+ if (this === other)
1222
+ return true;
1223
+ if (!(other instanceof LoggerConfig))
1224
+ return false;
1225
+ if (!this.minLevel.equals(other.minLevel))
1226
+ return false;
1227
+ if (!(this.tag === other.tag))
1228
+ return false;
1229
+ if (!this.outputFormat.equals(other.outputFormat))
1230
+ return false;
1231
+ if (!(this.includeTimestamp === other.includeTimestamp))
1232
+ return false;
1233
+ return true;
1234
+ }
1235
+ }
1236
+ class Companion_3 {
1237
+ constructor() {
1238
+ Companion_instance_3 = this;
1239
+ var tmp = this;
1240
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1241
+ tmp.t2r_1 = lazy(tmp_0, Origin$Companion$_anonymous__a8xfqh);
1242
+ }
1243
+ l1l() {
1244
+ return _get_$cachedSerializer__te6jhj_0(this);
1245
+ }
1246
+ k18(typeParamsSerializers) {
1247
+ return this.l1l();
1248
+ }
1249
+ }
1250
+ class Origin extends Enum {}
1251
+ class BaseCommand {}
1252
+ function *supports(args, $completion) {
1253
+ return true;
1254
+ }
1255
+ function getOrElse(_this__u8e3s4, default_0) {
1256
+ return _this__u8e3s4.isOk ? _this__u8e3s4.value : default_0;
1257
+ }
1258
+ function *andThenCommand(_this__u8e3s4, nextCommand, $completion) {
1259
+ var tmp;
1260
+ if (_this__u8e3s4.isOk) {
1261
+ tmp = yield* nextCommand.f2s(_this__u8e3s4.value, $completion);
1262
+ } else {
1263
+ tmp = Companion_instance.err(_this__u8e3s4.error);
1264
+ }
1265
+ return tmp;
1266
+ }
1267
+ function andThen(_this__u8e3s4, next, errorMapper) {
1268
+ return new BaseCommand$andThen$1(_this__u8e3s4, next, errorMapper);
1269
+ }
1270
+ function andThen_0(_this__u8e3s4, next) {
1271
+ return _this__u8e3s4.i2s(_this__u8e3s4, next, IdkErrorCommandErrorMapper_instance);
1272
+ }
1273
+ class Command {}
1274
+ function get_subsystem() {
1275
+ return EventSubsystems_getInstance().n2q_1;
1276
+ }
1277
+ class ServiceCommand {}
1278
+ function get_contract() {
1279
+ return null;
1280
+ }
1281
+ function get_id() {
1282
+ return this.v2r();
1283
+ }
1284
+ function get_module() {
1285
+ return substringBefore(this.v2r(), _Char___init__impl__6a9atx(46));
1286
+ }
1287
+ function get_service() {
1288
+ var parts = split(this.v2r(), charArrayOf([_Char___init__impl__6a9atx(46)]));
1289
+ return parts.m2() >= 3 ? parts.n2(1) : this.r2q();
1290
+ }
1291
+ function get_command() {
1292
+ return substringAfterLast(this.v2r(), _Char___init__impl__6a9atx(46));
1293
+ }
1294
+ function get_actionType() {
1295
+ var tmp0_safe_receiver = this.u2r();
1296
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a2s();
1297
+ return tmp1_elvis_lhs == null ? ActionType_EXECUTE_getInstance() : tmp1_elvis_lhs;
1298
+ }
1299
+ function *validateInput(args, $completion) {
1300
+ return new Ok_0(Unit_instance);
1301
+ }
1302
+ class ActionType extends Enum {}
1303
+ class ServiceCommandContract {}
1304
+ function get_actionType_0() {
1305
+ return ActionType_EXECUTE_getInstance();
1306
+ }
1307
+ class IChainCommandConfig {}
1308
+ function get_minExecutions() {
1309
+ return 1;
1310
+ }
1311
+ class BaseChainCommand$config$1 {
1312
+ k2s() {
1313
+ return 1;
1314
+ }
1315
+ get maxExecutions() {
1316
+ return this.k2s();
1317
+ }
1318
+ get minExecutions() {
1319
+ return this.l2s();
1320
+ }
1321
+ }
1322
+ class BaseChainCommand {}
1323
+ function get_config() {
1324
+ return new BaseChainCommand$config$1();
1325
+ }
1326
+ class BasePipelineCommand {}
1327
+ class ChainCommand {}
1328
+ class PipelineCommand {}
1329
+ class MultiService {}
1330
+ function hasId(id) {
1331
+ return !(this.getById(id) == null);
1332
+ }
1333
+ class ICommandInitExtension {}
1334
+ function beforeInit(service) {
1335
+ }
1336
+ function afterInit(service) {
1337
+ }
1338
+ class CommandExecutionPhase extends Enum {
1339
+ get name() {
1340
+ return this.b1();
1341
+ }
1342
+ get ordinal() {
1343
+ return this.a5();
1344
+ }
1345
+ }
1346
+ class ICommandExecutionExtension {}
1347
+ function beforeExecute(service, args) {
1348
+ }
1349
+ function duringExecute(service, args) {
1350
+ return args;
1351
+ }
1352
+ function afterExecute(service, args, result) {
1353
+ }
1354
+ class ICommandExecutionListener {}
1355
+ function onBeforeExecute(serviceId, args) {
1356
+ }
1357
+ function onDuringExecute(serviceId, args) {
1358
+ return args;
1359
+ }
1360
+ function onAfterExecute(serviceId, args, result) {
1361
+ }
1362
+ class BaseCommand$andThen$1 {
1363
+ constructor($this_andThen, $next, $errorMapper) {
1364
+ this.r2s_1 = $this_andThen;
1365
+ this.s2s_1 = $next;
1366
+ this.t2s_1 = $errorMapper;
1367
+ }
1368
+ *e2s(args, $completion) {
1369
+ var tmp;
1370
+ if (yield* this.r2s_1.e2s(args, $completion)) {
1371
+ var tmp0_safe_receiver = !(args == null) ? args : null;
1372
+ var tmp_0;
1373
+ if (tmp0_safe_receiver == null) {
1374
+ tmp_0 = null;
1375
+ } else {
1376
+ // Inline function 'kotlin.let' call
1377
+ tmp_0 = yield* this.s2s_1.e2s(tmp0_safe_receiver, $completion);
1378
+ }
1379
+ var tmp1_elvis_lhs = tmp_0;
1380
+ tmp = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
1381
+ } else {
1382
+ tmp = false;
1383
+ }
1384
+ return tmp;
1385
+ }
1386
+ *u2s(args, $completion) {
1387
+ var firstResult = yield* this.r2s_1.f2s(args, $completion);
1388
+ if (!firstResult.isOk) {
1389
+ return Companion_instance.err(firstResult.error);
1390
+ }
1391
+ var supportResult = yield* supportsOrError(this.s2s_1, firstResult.value, this.t2s_1, $completion);
1392
+ if (supportResult.isErr) {
1393
+ return Companion_instance.err(supportResult.error);
1394
+ }
1395
+ return yield* this.s2s_1.f2s(firstResult.value, $completion);
1396
+ }
1397
+ f2s(args, $completion) {
1398
+ return this.u2s(!(args == null) ? args : THROW_CCE(), $completion);
1399
+ }
1400
+ }
1401
+ class IdkErrorCommandErrorMapper {
1402
+ v2s(command, arg) {
1403
+ var tmp = CommandErrors_instance;
1404
+ return tmp.x2s(isInterface(command, BaseCommand) ? command : null, arg);
1405
+ }
1406
+ }
1407
+ class CommandErrors {
1408
+ constructor() {
1409
+ this.w2s_1 = 'COMMAND_NOT_AUTHORIZED';
1410
+ }
1411
+ x2s(command, arg) {
1412
+ return Companion_instance_0.t2o(VOID, VOID, command, arg);
1413
+ }
1414
+ }
1415
+ class Companion_4 {
1416
+ kp() {
1417
+ return this.y2s();
1418
+ }
1419
+ z2s(utils, timeZoneId) {
1420
+ return utils.dateTime(timeZoneId);
1421
+ }
1422
+ y2s(utils, timeZoneId, $super) {
1423
+ utils = utils === VOID ? Companion_getInstance_10().a2t_1 : utils;
1424
+ timeZoneId = timeZoneId === VOID ? null : timeZoneId;
1425
+ return $super === VOID ? this.z2s(utils, timeZoneId) : $super.z2s.call(this, utils, timeZoneId);
1426
+ }
1427
+ b2t(value) {
1428
+ var tmp;
1429
+ // Inline function 'kotlin.text.lowercase' call
1430
+ // Inline function 'kotlin.js.asDynamic' call
1431
+ var tmp$ret$0 = value.toLowerCase();
1432
+ if (endsWith(tmp$ret$0, _Char___init__impl__6a9atx(122))) {
1433
+ var instant = Companion_getInstance_0().dq(value);
1434
+ tmp = toLocalDateTime(instant, Companion_getInstance_3().j2c(Companion_getInstance_10().a2t_1.timeZoneId));
1435
+ } else {
1436
+ tmp = Companion_getInstance_2().a2c(value);
1437
+ }
1438
+ var datetime = tmp;
1439
+ return new LocalDateTimeKMP(datetime.h20(), datetime.m20(), datetime.q2d(), datetime.l22(), datetime.g22(), datetime.or(), datetime.j22());
1440
+ }
1441
+ l1l() {
1442
+ return LocalDateTimeIso8601SerializerKMP_getInstance();
1443
+ }
1444
+ }
1445
+ class LocalDateTimeKMP {
1446
+ constructor(year, month, day, hour, minute, second, nanosecond) {
1447
+ second = second === VOID ? 0 : second;
1448
+ nanosecond = nanosecond === VOID ? 0 : nanosecond;
1449
+ this.year = year;
1450
+ this.month = month;
1451
+ this.day = day;
1452
+ this.hour = hour;
1453
+ this.minute = minute;
1454
+ this.second = second;
1455
+ this.nanosecond = nanosecond;
1456
+ this.d2t_1 = LocalDateTime.o2d(this.year, this.month, this.day, this.hour, this.minute, this.second, this.nanosecond);
1457
+ }
1458
+ h20() {
1459
+ return this.year;
1460
+ }
1461
+ l20() {
1462
+ return this.month;
1463
+ }
1464
+ b20() {
1465
+ return this.day;
1466
+ }
1467
+ l22() {
1468
+ return this.hour;
1469
+ }
1470
+ g22() {
1471
+ return this.minute;
1472
+ }
1473
+ or() {
1474
+ return this.second;
1475
+ }
1476
+ j22() {
1477
+ return this.nanosecond;
1478
+ }
1479
+ e2t(other) {
1480
+ return Companion_instance_4.b2t(this.toString()).e2t(Companion_instance_4.b2t(other.toString()));
1481
+ }
1482
+ d(other) {
1483
+ return this.e2t(other instanceof LocalDateTimeKMP ? other : THROW_CCE());
1484
+ }
1485
+ toMdocTdateString() {
1486
+ return replace(split_0(this.toInstant().toString(), ['.']).n2(0) + 'Z', 'ZZ', 'Z');
1487
+ }
1488
+ toString() {
1489
+ return this.d2t_1.toString();
1490
+ }
1491
+ f2t(timeZoneId) {
1492
+ return toInstant(this.d2t_1, Companion_getInstance_10().a2t_1.timeZone(timeZoneId)).fq_1;
1493
+ }
1494
+ toEpochSeconds(timeZoneId, $super) {
1495
+ timeZoneId = timeZoneId === VOID ? Companion_getInstance_3().i2c_1.f1y_1 : timeZoneId;
1496
+ return $super === VOID ? this.f2t(timeZoneId) : $super.f2t.call(this, timeZoneId);
1497
+ }
1498
+ g2t(utils, timeZoneId) {
1499
+ return toInstant(this.d2t_1, utils.timeZone(timeZoneId));
1500
+ }
1501
+ toInstant(utils, timeZoneId, $super) {
1502
+ utils = utils === VOID ? Companion_getInstance_10().a2t_1 : utils;
1503
+ timeZoneId = timeZoneId === VOID ? null : timeZoneId;
1504
+ return $super === VOID ? this.g2t(utils, timeZoneId) : $super.g2t.call(this, utils, timeZoneId);
1505
+ }
1506
+ }
1507
+ class LocalDateTimeIso8601SerializerKMP {
1508
+ constructor() {
1509
+ LocalDateTimeIso8601SerializerKMP_instance = this;
1510
+ this.h2t_1 = PrimitiveSerialDescriptor('com.sphereon.core.compat.datetime.LocalDateTime', STRING_getInstance());
1511
+ }
1512
+ av() {
1513
+ return this.h2t_1;
1514
+ }
1515
+ ov(decoder) {
1516
+ var parsed = Companion_getInstance_2().a2c(decoder.lz());
1517
+ return new LocalDateTimeKMP(parsed.h20(), parsed.m20(), parsed.q2d(), parsed.l22(), parsed.g22(), parsed.or(), parsed.j22());
1518
+ }
1519
+ i2t(encoder, value) {
1520
+ encoder.u10(value.toString());
1521
+ }
1522
+ nv(encoder, value) {
1523
+ return this.i2t(encoder, value instanceof LocalDateTimeKMP ? value : THROW_CCE());
1524
+ }
1525
+ }
1526
+ class Companion_5 {
1527
+ constructor() {
1528
+ Companion_instance_5 = this;
1529
+ this.a2t_1 = new DateTimeUtils();
1530
+ }
1531
+ j2t() {
1532
+ return this.a2t_1;
1533
+ }
1534
+ }
1535
+ class DateTimeUtils {
1536
+ constructor(clock, timeZoneId) {
1537
+ Companion_getInstance_10();
1538
+ clock = clock === VOID ? System_instance : clock;
1539
+ timeZoneId = timeZoneId === VOID ? Companion_getInstance_3().a2e().n2c() : timeZoneId;
1540
+ this.clock = clock;
1541
+ this.timeZoneId = timeZoneId;
1542
+ var tmp = this;
1543
+ tmp.c2t_1 = lazy_0(DateTimeUtils$defaultTimeZone$lambda(this));
1544
+ }
1545
+ k2t(_set____db54di) {
1546
+ this.clock = _set____db54di;
1547
+ }
1548
+ l2t() {
1549
+ return this.clock;
1550
+ }
1551
+ m2t(_set____db54di) {
1552
+ this.timeZoneId = _set____db54di;
1553
+ }
1554
+ n2t() {
1555
+ return this.timeZoneId;
1556
+ }
1557
+ epochSeconds() {
1558
+ return convertToInt(now_0(this).fq_1);
1559
+ }
1560
+ o2t(epochSeconds) {
1561
+ return this.dateTime(Companion_getInstance_3().i2c_1.f1y_1, epochSeconds);
1562
+ }
1563
+ dateTimeUTC(epochSeconds, $super) {
1564
+ epochSeconds = epochSeconds === VOID ? this.epochSeconds() : epochSeconds;
1565
+ return $super === VOID ? this.o2t(epochSeconds) : $super.o2t.call(this, epochSeconds);
1566
+ }
1567
+ p2t(epochSeconds) {
1568
+ return this.dateTime(this.timeZoneId, epochSeconds);
1569
+ }
1570
+ dateTimeLocal(epochSeconds, $super) {
1571
+ epochSeconds = epochSeconds === VOID ? this.epochSeconds() : epochSeconds;
1572
+ return $super === VOID ? this.p2t(epochSeconds) : $super.p2t.call(this, epochSeconds);
1573
+ }
1574
+ q2t(timeZoneId, epochSeconds) {
1575
+ var tmp = Companion_getInstance_0();
1576
+ var tmp1_elvis_lhs = epochSeconds == null ? null : fromInt(epochSeconds);
1577
+ return toKMP(toLocalDateTime(tmp.cq(tmp1_elvis_lhs == null ? fromInt(this.epochSeconds()) : tmp1_elvis_lhs), this.timeZone(timeZoneId)));
1578
+ }
1579
+ dateTime(timeZoneId, epochSeconds, $super) {
1580
+ timeZoneId = timeZoneId === VOID ? null : timeZoneId;
1581
+ epochSeconds = epochSeconds === VOID ? this.epochSeconds() : epochSeconds;
1582
+ return $super === VOID ? this.q2t(timeZoneId, epochSeconds) : $super.q2t.call(this, timeZoneId, epochSeconds);
1583
+ }
1584
+ r2t(epochSeconds) {
1585
+ return this.dateISO(this.timeZoneId, epochSeconds);
1586
+ }
1587
+ dateLocalISO(epochSeconds, $super) {
1588
+ epochSeconds = epochSeconds === VOID ? this.epochSeconds() : epochSeconds;
1589
+ return $super === VOID ? this.r2t(epochSeconds) : $super.r2t.call(this, epochSeconds);
1590
+ }
1591
+ s2t(timeZoneId, epochSeconds) {
1592
+ return format(toKotlin(this.dateTime(timeZoneId == null ? this.timeZoneId : timeZoneId, epochSeconds)).z1x_1, Formats_getInstance().y1x());
1593
+ }
1594
+ dateISO(timeZoneId, epochSeconds, $super) {
1595
+ epochSeconds = epochSeconds === VOID ? this.epochSeconds() : epochSeconds;
1596
+ return $super === VOID ? this.s2t(timeZoneId, epochSeconds) : $super.s2t.call(this, timeZoneId, epochSeconds);
1597
+ }
1598
+ timeZone(timeZoneId) {
1599
+ var tmp;
1600
+ if (timeZoneId == null) {
1601
+ tmp = null;
1602
+ } else {
1603
+ // Inline function 'kotlin.let' call
1604
+ tmp = Companion_getInstance_3().j2c(timeZoneId);
1605
+ }
1606
+ var tmp1_elvis_lhs = tmp;
1607
+ return tmp1_elvis_lhs == null ? this.c2t_1.h4() : tmp1_elvis_lhs;
1608
+ }
1609
+ }
1610
+ class DateTimeUtilsDefault {
1611
+ constructor() {
1612
+ DateTimeUtilsDefault_instance = this;
1613
+ this.INSTANCE = new DateTimeUtils();
1614
+ }
1615
+ t2t() {
1616
+ return this.INSTANCE;
1617
+ }
1618
+ }
1619
+ class Uuid {
1620
+ v4() {
1621
+ return Companion_getInstance_1().wr();
1622
+ }
1623
+ v4String() {
1624
+ return this.v4().toString();
1625
+ }
1626
+ }
1627
+ class TenantContextData {}
1628
+ class TenantContextDataImpl {
1629
+ constructor(tenantId) {
1630
+ this.u2t_1 = tenantId;
1631
+ }
1632
+ v2t() {
1633
+ return this.u2t_1;
1634
+ }
1635
+ toString() {
1636
+ return this.u2t_1;
1637
+ }
1638
+ equals(other) {
1639
+ if (this === other)
1640
+ return true;
1641
+ if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1642
+ return false;
1643
+ if (!(other instanceof TenantContextDataImpl))
1644
+ THROW_CCE();
1645
+ return this.u2t_1 === other.u2t_1;
1646
+ }
1647
+ hashCode() {
1648
+ return getStringHashCode(this.u2t_1);
1649
+ }
1650
+ get tenantId() {
1651
+ return this.v2t();
1652
+ }
1653
+ }
1654
+ class Order extends Enum {
1655
+ constructor(name, ordinal, orderValue) {
1656
+ super(name, ordinal);
1657
+ this.y2t_1 = orderValue;
1658
+ }
1659
+ }
1660
+ class Companion_6 {
1661
+ constructor() {
1662
+ this.BACKGROUND_SERVICE = '<anonymous>:<anonymous>:background-service';
1663
+ this.ANONYMOUS = '<anonymous>:<anonymous>:default';
1664
+ }
1665
+ z2t() {
1666
+ return this.BACKGROUND_SERVICE;
1667
+ }
1668
+ a2u() {
1669
+ return this.ANONYMOUS;
1670
+ }
1671
+ }
1672
+ class TenantAware {}
1673
+ class PrincipalAware {}
1674
+ class UserContext {}
1675
+ class SecuredTenantContextDetails {}
1676
+ class UserSecuredContext {}
1677
+ class ContextAware {}
1678
+ class UserScope {}
1679
+ class ISessionContextAware {}
1680
+ class SessionScope {}
1681
+ class SslConfig {
1682
+ constructor(client, server) {
1683
+ client = client === VOID ? new ClientSslConfig() : client;
1684
+ server = server === VOID ? new ServerSslConfig() : server;
1685
+ this.j2u_1 = client;
1686
+ this.k2u_1 = server;
1687
+ }
1688
+ toString() {
1689
+ return 'SslConfig(client=' + this.j2u_1.toString() + ', server=' + this.k2u_1.toString() + ')';
1690
+ }
1691
+ hashCode() {
1692
+ var result = this.j2u_1.hashCode();
1693
+ result = imul(result, 31) + this.k2u_1.hashCode() | 0;
1694
+ return result;
1695
+ }
1696
+ equals(other) {
1697
+ if (this === other)
1698
+ return true;
1699
+ if (!(other instanceof SslConfig))
1700
+ return false;
1701
+ if (!this.j2u_1.equals(other.j2u_1))
1702
+ return false;
1703
+ if (!this.k2u_1.equals(other.k2u_1))
1704
+ return false;
1705
+ return true;
1706
+ }
1707
+ }
1708
+ class ClientSslConfig {
1709
+ constructor(engine, perHostCertificate, defaultCertificate) {
1710
+ engine = engine === VOID ? HttpClientEngineType_CIO_getInstance() : engine;
1711
+ var tmp;
1712
+ if (perHostCertificate === VOID) {
1713
+ // Inline function 'kotlin.collections.mapOf' call
1714
+ tmp = emptyMap();
1715
+ } else {
1716
+ tmp = perHostCertificate;
1717
+ }
1718
+ perHostCertificate = tmp;
1719
+ defaultCertificate = defaultCertificate === VOID ? null : defaultCertificate;
1720
+ this.l2u_1 = engine;
1721
+ this.m2u_1 = perHostCertificate;
1722
+ this.n2u_1 = defaultCertificate;
1723
+ }
1724
+ toString() {
1725
+ return 'ClientSslConfig(engine=' + this.l2u_1.toString() + ', perHostCertificate=' + toString_0(this.m2u_1) + ', defaultCertificate=' + toString_1(this.n2u_1) + ')';
1726
+ }
1727
+ hashCode() {
1728
+ var result = this.l2u_1.hashCode();
1729
+ result = imul(result, 31) + hashCode(this.m2u_1) | 0;
1730
+ result = imul(result, 31) + (this.n2u_1 == null ? 0 : this.n2u_1.hashCode()) | 0;
1731
+ return result;
1732
+ }
1733
+ equals(other) {
1734
+ if (this === other)
1735
+ return true;
1736
+ if (!(other instanceof ClientSslConfig))
1737
+ return false;
1738
+ if (!this.l2u_1.equals(other.l2u_1))
1739
+ return false;
1740
+ if (!equals(this.m2u_1, other.m2u_1))
1741
+ return false;
1742
+ if (!equals(this.n2u_1, other.n2u_1))
1743
+ return false;
1744
+ return true;
1745
+ }
1746
+ }
1747
+ class ServerSslConfig {
1748
+ constructor(ca) {
1749
+ ca = ca === VOID ? new CaOpts() : ca;
1750
+ this.o2u_1 = ca;
1751
+ }
1752
+ toString() {
1753
+ return 'ServerSslConfig(ca=' + this.o2u_1.toString() + ')';
1754
+ }
1755
+ hashCode() {
1756
+ return this.o2u_1.hashCode();
1757
+ }
1758
+ equals(other) {
1759
+ if (this === other)
1760
+ return true;
1761
+ if (!(other instanceof ServerSslConfig))
1762
+ return false;
1763
+ if (!this.o2u_1.equals(other.o2u_1))
1764
+ return false;
1765
+ return true;
1766
+ }
1767
+ }
1768
+ class CaOpts {
1769
+ constructor(includePlatformDefaults, additionalCAs) {
1770
+ includePlatformDefaults = includePlatformDefaults === VOID ? true : includePlatformDefaults;
1771
+ var tmp;
1772
+ if (additionalCAs === VOID) {
1773
+ // Inline function 'kotlin.collections.setOf' call
1774
+ tmp = emptySet();
1775
+ } else {
1776
+ tmp = additionalCAs;
1777
+ }
1778
+ additionalCAs = tmp;
1779
+ this.p2u_1 = includePlatformDefaults;
1780
+ this.q2u_1 = additionalCAs;
1781
+ }
1782
+ toString() {
1783
+ return 'CaOpts(includePlatformDefaults=' + this.p2u_1 + ', additionalCAs=' + toString_0(this.q2u_1) + ')';
1784
+ }
1785
+ hashCode() {
1786
+ var result = getBooleanHashCode(this.p2u_1);
1787
+ result = imul(result, 31) + hashCode(this.q2u_1) | 0;
1788
+ return result;
1789
+ }
1790
+ equals(other) {
1791
+ if (this === other)
1792
+ return true;
1793
+ if (!(other instanceof CaOpts))
1794
+ return false;
1795
+ if (!(this.p2u_1 === other.p2u_1))
1796
+ return false;
1797
+ if (!equals(this.q2u_1, other.q2u_1))
1798
+ return false;
1799
+ return true;
1800
+ }
1801
+ }
1802
+ class HttpClientEngineType extends Enum {}
1803
+ class Companion_7 {
1804
+ r2u(loggingConfig) {
1805
+ return new HttpClientOptions(null, true, VOID, HttpClientOptions$Companion$createDefault$lambda, false, VOID, true, loggingConfig);
1806
+ }
1807
+ s2u(loggingConfig, $super) {
1808
+ loggingConfig = loggingConfig === VOID ? Companion_getInstance_7().j2r_1 : loggingConfig;
1809
+ return $super === VOID ? this.r2u(loggingConfig) : $super.r2u.call(this, loggingConfig);
1810
+ }
1811
+ }
1812
+ class HttpClientOptions {
1813
+ constructor(engine, enableContentNegotiation, sslConfig, contentNegotiationConfig, enableHttpCache, httpCacheConfig, enableLogging, loggingConfig, defaultRequest, additionalConfig, urlValidation) {
1814
+ engine = engine === VOID ? null : engine;
1815
+ enableContentNegotiation = enableContentNegotiation === VOID ? false : enableContentNegotiation;
1816
+ sslConfig = sslConfig === VOID ? new SslConfig() : sslConfig;
1817
+ var tmp;
1818
+ if (contentNegotiationConfig === VOID) {
1819
+ tmp = HttpClientOptions$_init_$lambda_ojfg0w;
1820
+ } else {
1821
+ tmp = contentNegotiationConfig;
1822
+ }
1823
+ contentNegotiationConfig = tmp;
1824
+ enableHttpCache = enableHttpCache === VOID ? false : enableHttpCache;
1825
+ httpCacheConfig = httpCacheConfig === VOID ? null : httpCacheConfig;
1826
+ enableLogging = enableLogging === VOID ? true : enableLogging;
1827
+ loggingConfig = loggingConfig === VOID ? Companion_getInstance_7().j2r_1 : loggingConfig;
1828
+ defaultRequest = defaultRequest === VOID ? null : defaultRequest;
1829
+ additionalConfig = additionalConfig === VOID ? null : additionalConfig;
1830
+ urlValidation = urlValidation === VOID ? null : urlValidation;
1831
+ this.t2u_1 = engine;
1832
+ this.u2u_1 = enableContentNegotiation;
1833
+ this.v2u_1 = sslConfig;
1834
+ this.w2u_1 = contentNegotiationConfig;
1835
+ this.x2u_1 = enableHttpCache;
1836
+ this.y2u_1 = httpCacheConfig;
1837
+ this.z2u_1 = enableLogging;
1838
+ this.a2v_1 = loggingConfig;
1839
+ this.b2v_1 = defaultRequest;
1840
+ this.c2v_1 = additionalConfig;
1841
+ this.d2v_1 = urlValidation;
1842
+ }
1843
+ toString() {
1844
+ return 'HttpClientOptions(engine=' + toString_1(this.t2u_1) + ', enableContentNegotiation=' + this.u2u_1 + ', sslConfig=' + this.v2u_1.toString() + ', contentNegotiationConfig=' + toString_1(this.w2u_1) + ', enableHttpCache=' + this.x2u_1 + ', httpCacheConfig=' + toString_1(this.y2u_1) + ', enableLogging=' + this.z2u_1 + ', loggingConfig=' + this.a2v_1.toString() + ', defaultRequest=' + toString_1(this.b2v_1) + ', additionalConfig=' + toString_1(this.c2v_1) + ', urlValidation=' + toString_1(this.d2v_1) + ')';
1845
+ }
1846
+ hashCode() {
1847
+ var result = this.t2u_1 == null ? 0 : this.t2u_1.hashCode();
1848
+ result = imul(result, 31) + getBooleanHashCode(this.u2u_1) | 0;
1849
+ result = imul(result, 31) + this.v2u_1.hashCode() | 0;
1850
+ result = imul(result, 31) + (this.w2u_1 == null ? 0 : hashCode(this.w2u_1)) | 0;
1851
+ result = imul(result, 31) + getBooleanHashCode(this.x2u_1) | 0;
1852
+ result = imul(result, 31) + (this.y2u_1 == null ? 0 : hashCode(this.y2u_1)) | 0;
1853
+ result = imul(result, 31) + getBooleanHashCode(this.z2u_1) | 0;
1854
+ result = imul(result, 31) + this.a2v_1.hashCode() | 0;
1855
+ result = imul(result, 31) + (this.b2v_1 == null ? 0 : hashCode(this.b2v_1)) | 0;
1856
+ result = imul(result, 31) + (this.c2v_1 == null ? 0 : hashCode(this.c2v_1)) | 0;
1857
+ result = imul(result, 31) + (this.d2v_1 == null ? 0 : this.d2v_1.hashCode()) | 0;
1858
+ return result;
1859
+ }
1860
+ equals(other) {
1861
+ if (this === other)
1862
+ return true;
1863
+ if (!(other instanceof HttpClientOptions))
1864
+ return false;
1865
+ if (!equals(this.t2u_1, other.t2u_1))
1866
+ return false;
1867
+ if (!(this.u2u_1 === other.u2u_1))
1868
+ return false;
1869
+ if (!this.v2u_1.equals(other.v2u_1))
1870
+ return false;
1871
+ if (!equals(this.w2u_1, other.w2u_1))
1872
+ return false;
1873
+ if (!(this.x2u_1 === other.x2u_1))
1874
+ return false;
1875
+ if (!equals(this.y2u_1, other.y2u_1))
1876
+ return false;
1877
+ if (!(this.z2u_1 === other.z2u_1))
1878
+ return false;
1879
+ if (!this.a2v_1.equals(other.a2v_1))
1880
+ return false;
1881
+ if (!equals(this.b2v_1, other.b2v_1))
1882
+ return false;
1883
+ if (!equals(this.c2v_1, other.c2v_1))
1884
+ return false;
1885
+ if (!equals(this.d2v_1, other.d2v_1))
1886
+ return false;
1887
+ return true;
1888
+ }
1889
+ }
1890
+ class PromptRegistry {}
1891
+ class CancelReason extends Enum {
1892
+ get name() {
1893
+ return this.b1();
1894
+ }
1895
+ get ordinal() {
1896
+ return this.a5();
1897
+ }
1898
+ }
1899
+ class Companion_8 {
1900
+ g2v() {
1901
+ return _PromptId___init__impl__e4e3ku(Companion_getInstance_1().wr().toString());
1902
+ }
1903
+ }
1904
+ class PromptId {
1905
+ constructor(value) {
1906
+ this.h2v_1 = value;
1907
+ }
1908
+ toString() {
1909
+ return PromptId__toString_impl_44yzz2(this.h2v_1);
1910
+ }
1911
+ hashCode() {
1912
+ return PromptId__hashCode_impl_pw4wrx(this.h2v_1);
1913
+ }
1914
+ equals(other) {
1915
+ return PromptId__equals_impl_x3ochb(this.h2v_1, other);
1916
+ }
1917
+ }
1918
+ class Companion_9 {
1919
+ constructor() {
1920
+ Companion_instance_9 = this;
1921
+ this.DEFAULT = new PromptPresentationHint();
1922
+ this.CRITICAL = new PromptPresentationHint(PromptPriority_CRITICAL_getInstance(), VOID, VOID, VOID, true);
1923
+ this.DEFERRED = new PromptPresentationHint(PromptPriority_LOW_getInstance(), true);
1924
+ }
1925
+ i2v() {
1926
+ return this.DEFAULT;
1927
+ }
1928
+ j2v() {
1929
+ return this.CRITICAL;
1930
+ }
1931
+ k2v() {
1932
+ return this.DEFERRED;
1933
+ }
1934
+ }
1935
+ class PromptPresentationHint {
1936
+ constructor(priority, deferUntilForeground, timeout, dismissOnBackground, showOverLockScreen) {
1937
+ Companion_getInstance_14();
1938
+ priority = priority === VOID ? PromptPriority_NORMAL_getInstance() : priority;
1939
+ deferUntilForeground = deferUntilForeground === VOID ? false : deferUntilForeground;
1940
+ timeout = timeout === VOID ? null : timeout;
1941
+ dismissOnBackground = dismissOnBackground === VOID ? false : dismissOnBackground;
1942
+ showOverLockScreen = showOverLockScreen === VOID ? false : showOverLockScreen;
1943
+ this.priority = priority;
1944
+ this.deferUntilForeground = deferUntilForeground;
1945
+ this.timeout = timeout;
1946
+ this.dismissOnBackground = dismissOnBackground;
1947
+ this.showOverLockScreen = showOverLockScreen;
1948
+ }
1949
+ l2v() {
1950
+ return this.priority;
1951
+ }
1952
+ m2v() {
1953
+ return this.deferUntilForeground;
1954
+ }
1955
+ n2v() {
1956
+ return this.timeout;
1957
+ }
1958
+ o2v() {
1959
+ return this.dismissOnBackground;
1960
+ }
1961
+ p2v() {
1962
+ return this.showOverLockScreen;
1963
+ }
1964
+ nk() {
1965
+ return this.priority;
1966
+ }
1967
+ ok() {
1968
+ return this.deferUntilForeground;
1969
+ }
1970
+ q2v() {
1971
+ return this.timeout;
1972
+ }
1973
+ a2r() {
1974
+ return this.dismissOnBackground;
1975
+ }
1976
+ b2r() {
1977
+ return this.showOverLockScreen;
1978
+ }
1979
+ r2v(priority, deferUntilForeground, timeout, dismissOnBackground, showOverLockScreen) {
1980
+ return new PromptPresentationHint(priority, deferUntilForeground, timeout, dismissOnBackground, showOverLockScreen);
1981
+ }
1982
+ copy(priority, deferUntilForeground, timeout, dismissOnBackground, showOverLockScreen, $super) {
1983
+ priority = priority === VOID ? this.priority : priority;
1984
+ deferUntilForeground = deferUntilForeground === VOID ? this.deferUntilForeground : deferUntilForeground;
1985
+ timeout = timeout === VOID ? this.timeout : timeout;
1986
+ dismissOnBackground = dismissOnBackground === VOID ? this.dismissOnBackground : dismissOnBackground;
1987
+ showOverLockScreen = showOverLockScreen === VOID ? this.showOverLockScreen : showOverLockScreen;
1988
+ var tmp;
1989
+ if ($super === VOID) {
1990
+ tmp = this.r2v(priority, deferUntilForeground, timeout, dismissOnBackground, showOverLockScreen);
1991
+ } else {
1992
+ var tmp_0 = $super.r2v;
1993
+ var tmp_1 = timeout;
1994
+ tmp = tmp_0.call(this, priority, deferUntilForeground, tmp_1 == null ? null : new Duration(tmp_1), dismissOnBackground, showOverLockScreen);
1995
+ }
1996
+ return tmp;
1997
+ }
1998
+ toString() {
1999
+ var tmp = this.priority.toString();
2000
+ var tmp_0 = this.timeout;
2001
+ return 'PromptPresentationHint(priority=' + tmp + ', deferUntilForeground=' + this.deferUntilForeground + ', timeout=' + toString_1(tmp_0 == null ? null : new Duration(tmp_0)) + ', dismissOnBackground=' + this.dismissOnBackground + ', showOverLockScreen=' + this.showOverLockScreen + ')';
2002
+ }
2003
+ hashCode() {
2004
+ var result = this.priority.hashCode();
2005
+ result = imul(result, 31) + getBooleanHashCode(this.deferUntilForeground) | 0;
2006
+ var tmp = imul(result, 31);
2007
+ var tmp_0;
2008
+ var tmp_1 = this.timeout;
2009
+ if ((tmp_1 == null ? null : new Duration(tmp_1)) == null) {
2010
+ tmp_0 = 0;
2011
+ } else {
2012
+ tmp_0 = Duration__hashCode_impl_u4exz6(this.timeout);
2013
+ }
2014
+ result = tmp + tmp_0 | 0;
2015
+ result = imul(result, 31) + getBooleanHashCode(this.dismissOnBackground) | 0;
2016
+ result = imul(result, 31) + getBooleanHashCode(this.showOverLockScreen) | 0;
2017
+ return result;
2018
+ }
2019
+ equals(other) {
2020
+ if (this === other)
2021
+ return true;
2022
+ if (!(other instanceof PromptPresentationHint))
2023
+ return false;
2024
+ if (!this.priority.equals(other.priority))
2025
+ return false;
2026
+ if (!(this.deferUntilForeground === other.deferUntilForeground))
2027
+ return false;
2028
+ var tmp = this.timeout;
2029
+ var tmp_0 = tmp == null ? null : new Duration(tmp);
2030
+ var tmp_1 = other.timeout;
2031
+ if (!equals(tmp_0, tmp_1 == null ? null : new Duration(tmp_1)))
2032
+ return false;
2033
+ if (!(this.dismissOnBackground === other.dismissOnBackground))
2034
+ return false;
2035
+ if (!(this.showOverLockScreen === other.showOverLockScreen))
2036
+ return false;
2037
+ return true;
2038
+ }
2039
+ }
2040
+ class sam$kotlin_Comparator$0 {
2041
+ constructor(function_0) {
2042
+ this.s2v_1 = function_0;
2043
+ }
2044
+ ji(a, b) {
2045
+ return this.s2v_1(a, b);
2046
+ }
2047
+ compare(a, b) {
2048
+ return this.ji(a, b);
2049
+ }
2050
+ g5() {
2051
+ return this.s2v_1;
2052
+ }
2053
+ equals(other) {
2054
+ var tmp;
2055
+ if (!(other == null) ? isInterface(other, Comparator) : false) {
2056
+ var tmp_0;
2057
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
2058
+ tmp_0 = equals(this.g5(), other.g5());
2059
+ } else {
2060
+ tmp_0 = false;
2061
+ }
2062
+ tmp = tmp_0;
2063
+ } else {
2064
+ tmp = false;
2065
+ }
2066
+ return tmp;
2067
+ }
2068
+ hashCode() {
2069
+ return hashCode(this.g5());
2070
+ }
2071
+ }
2072
+ class Companion_10 {
2073
+ sortedByPriority() {
2074
+ // Inline function 'kotlin.collections.sortedBy' call
2075
+ var this_0 = get_entries();
2076
+ // Inline function 'kotlin.comparisons.compareBy' call
2077
+ var tmp = PromptPriority$Companion$sortedByPriority$lambda;
2078
+ var tmp$ret$1 = new sam$kotlin_Comparator$0(tmp);
2079
+ return sortedWith(this_0, tmp$ret$1);
2080
+ }
2081
+ }
2082
+ class PromptPriority extends Enum {
2083
+ constructor(name, ordinal, order) {
2084
+ super(name, ordinal);
2085
+ this.order = order;
2086
+ }
2087
+ v2v() {
2088
+ return this.order;
2089
+ }
2090
+ isHigherThan(other) {
2091
+ return this.order < other.order;
2092
+ }
2093
+ isAtLeast(other) {
2094
+ return this.order <= other.order;
2095
+ }
2096
+ get name() {
2097
+ return this.b1();
2098
+ }
2099
+ get ordinal() {
2100
+ return this.a5();
2101
+ }
2102
+ }
2103
+ class PromptRequest {}
2104
+ class SinglePromptRequest {}
2105
+ function get_show() {
2106
+ return true;
2107
+ }
2108
+ function get_subtitle() {
2109
+ return null;
2110
+ }
2111
+ class NfcPromptRequest {
2112
+ constructor(id, title, subtitle, show, presentationHint, initialMessage, successMessage, errorMessage) {
2113
+ id = id === VOID ? Companion_instance_8.g2v() : id;
2114
+ subtitle = subtitle === VOID ? null : subtitle;
2115
+ show = show === VOID ? true : show;
2116
+ presentationHint = presentationHint === VOID ? Companion_getInstance_14().DEFAULT : presentationHint;
2117
+ successMessage = successMessage === VOID ? null : successMessage;
2118
+ errorMessage = errorMessage === VOID ? null : errorMessage;
2119
+ this.b2w_1 = id;
2120
+ this.c2w_1 = title;
2121
+ this.d2w_1 = subtitle;
2122
+ this.e2w_1 = show;
2123
+ this.f2w_1 = presentationHint;
2124
+ this.initialMessage = initialMessage;
2125
+ this.successMessage = successMessage;
2126
+ this.errorMessage = errorMessage;
2127
+ }
2128
+ w2v() {
2129
+ return this.b2w_1;
2130
+ }
2131
+ z2v() {
2132
+ return this.c2w_1;
2133
+ }
2134
+ a2w() {
2135
+ return this.d2w_1;
2136
+ }
2137
+ y2v() {
2138
+ return this.e2w_1;
2139
+ }
2140
+ x2v() {
2141
+ return this.f2w_1;
2142
+ }
2143
+ g2w() {
2144
+ return this.initialMessage;
2145
+ }
2146
+ h2w() {
2147
+ return this.successMessage;
2148
+ }
2149
+ i2w() {
2150
+ return this.errorMessage;
2151
+ }
2152
+ j2w() {
2153
+ return this.b2w_1;
2154
+ }
2155
+ ok() {
2156
+ return this.c2w_1;
2157
+ }
2158
+ tr() {
2159
+ return this.d2w_1;
2160
+ }
2161
+ a2r() {
2162
+ return this.e2w_1;
2163
+ }
2164
+ b2r() {
2165
+ return this.f2w_1;
2166
+ }
2167
+ c2r() {
2168
+ return this.initialMessage;
2169
+ }
2170
+ d2r() {
2171
+ return this.successMessage;
2172
+ }
2173
+ k2w() {
2174
+ return this.errorMessage;
2175
+ }
2176
+ l2w(id, title, subtitle, show, presentationHint, initialMessage, successMessage, errorMessage) {
2177
+ return new NfcPromptRequest(id, title, subtitle, show, presentationHint, initialMessage, successMessage, errorMessage);
2178
+ }
2179
+ copy(id, title, subtitle, show, presentationHint, initialMessage, successMessage, errorMessage, $super) {
2180
+ id = id === VOID ? this.b2w_1 : id;
2181
+ title = title === VOID ? this.c2w_1 : title;
2182
+ subtitle = subtitle === VOID ? this.d2w_1 : subtitle;
2183
+ show = show === VOID ? this.e2w_1 : show;
2184
+ presentationHint = presentationHint === VOID ? this.f2w_1 : presentationHint;
2185
+ initialMessage = initialMessage === VOID ? this.initialMessage : initialMessage;
2186
+ successMessage = successMessage === VOID ? this.successMessage : successMessage;
2187
+ errorMessage = errorMessage === VOID ? this.errorMessage : errorMessage;
2188
+ return $super === VOID ? this.l2w(id, title, subtitle, show, presentationHint, initialMessage, successMessage, errorMessage) : $super.l2w.call(this, new PromptId(id), title, subtitle, show, presentationHint, initialMessage, successMessage, errorMessage);
2189
+ }
2190
+ toString() {
2191
+ return 'NfcPromptRequest(id=' + PromptId__toString_impl_44yzz2(this.b2w_1) + ', title=' + this.c2w_1 + ', subtitle=' + this.d2w_1 + ', show=' + this.e2w_1 + ', presentationHint=' + this.f2w_1.toString() + ', initialMessage=' + this.initialMessage + ', successMessage=' + this.successMessage + ', errorMessage=' + this.errorMessage + ')';
2192
+ }
2193
+ hashCode() {
2194
+ var result = PromptId__hashCode_impl_pw4wrx(this.b2w_1);
2195
+ result = imul(result, 31) + getStringHashCode(this.c2w_1) | 0;
2196
+ result = imul(result, 31) + (this.d2w_1 == null ? 0 : getStringHashCode(this.d2w_1)) | 0;
2197
+ result = imul(result, 31) + getBooleanHashCode(this.e2w_1) | 0;
2198
+ result = imul(result, 31) + this.f2w_1.hashCode() | 0;
2199
+ result = imul(result, 31) + getStringHashCode(this.initialMessage) | 0;
2200
+ result = imul(result, 31) + (this.successMessage == null ? 0 : getStringHashCode(this.successMessage)) | 0;
2201
+ result = imul(result, 31) + (this.errorMessage == null ? 0 : getStringHashCode(this.errorMessage)) | 0;
2202
+ return result;
2203
+ }
2204
+ equals(other) {
2205
+ if (this === other)
2206
+ return true;
2207
+ if (!(other instanceof NfcPromptRequest))
2208
+ return false;
2209
+ if (!(this.b2w_1 === other.b2w_1))
2210
+ return false;
2211
+ if (!(this.c2w_1 === other.c2w_1))
2212
+ return false;
2213
+ if (!(this.d2w_1 == other.d2w_1))
2214
+ return false;
2215
+ if (!(this.e2w_1 === other.e2w_1))
2216
+ return false;
2217
+ if (!this.f2w_1.equals(other.f2w_1))
2218
+ return false;
2219
+ if (!(this.initialMessage === other.initialMessage))
2220
+ return false;
2221
+ if (!(this.successMessage == other.successMessage))
2222
+ return false;
2223
+ if (!(this.errorMessage == other.errorMessage))
2224
+ return false;
2225
+ return true;
2226
+ }
2227
+ get id() {
2228
+ return this.w2v();
2229
+ }
2230
+ get title() {
2231
+ return this.z2v();
2232
+ }
2233
+ get subtitle() {
2234
+ return this.a2w();
2235
+ }
2236
+ get show() {
2237
+ return this.y2v();
2238
+ }
2239
+ get presentationHint() {
2240
+ return this.x2v();
2241
+ }
2242
+ }
2243
+ class BiometricPromptRequest {
2244
+ constructor(id, title, subtitle, show, presentationHint, reason, fallbackToPasscode) {
2245
+ id = id === VOID ? Companion_instance_8.g2v() : id;
2246
+ subtitle = subtitle === VOID ? null : subtitle;
2247
+ show = show === VOID ? true : show;
2248
+ presentationHint = presentationHint === VOID ? new PromptPresentationHint(PromptPriority_HIGH_getInstance()) : presentationHint;
2249
+ fallbackToPasscode = fallbackToPasscode === VOID ? true : fallbackToPasscode;
2250
+ this.m2w_1 = id;
2251
+ this.n2w_1 = title;
2252
+ this.o2w_1 = subtitle;
2253
+ this.p2w_1 = show;
2254
+ this.q2w_1 = presentationHint;
2255
+ this.reason = reason;
2256
+ this.fallbackToPasscode = fallbackToPasscode;
2257
+ }
2258
+ w2v() {
2259
+ return this.m2w_1;
2260
+ }
2261
+ z2v() {
2262
+ return this.n2w_1;
2263
+ }
2264
+ a2w() {
2265
+ return this.o2w_1;
2266
+ }
2267
+ y2v() {
2268
+ return this.p2w_1;
2269
+ }
2270
+ x2v() {
2271
+ return this.q2w_1;
2272
+ }
2273
+ r2w() {
2274
+ return this.reason;
2275
+ }
2276
+ s2w() {
2277
+ return this.fallbackToPasscode;
2278
+ }
2279
+ j2w() {
2280
+ return this.m2w_1;
2281
+ }
2282
+ ok() {
2283
+ return this.n2w_1;
2284
+ }
2285
+ tr() {
2286
+ return this.o2w_1;
2287
+ }
2288
+ a2r() {
2289
+ return this.p2w_1;
2290
+ }
2291
+ b2r() {
2292
+ return this.q2w_1;
2293
+ }
2294
+ c2r() {
2295
+ return this.reason;
2296
+ }
2297
+ d2r() {
2298
+ return this.fallbackToPasscode;
2299
+ }
2300
+ t2w(id, title, subtitle, show, presentationHint, reason, fallbackToPasscode) {
2301
+ return new BiometricPromptRequest(id, title, subtitle, show, presentationHint, reason, fallbackToPasscode);
2302
+ }
2303
+ copy(id, title, subtitle, show, presentationHint, reason, fallbackToPasscode, $super) {
2304
+ id = id === VOID ? this.m2w_1 : id;
2305
+ title = title === VOID ? this.n2w_1 : title;
2306
+ subtitle = subtitle === VOID ? this.o2w_1 : subtitle;
2307
+ show = show === VOID ? this.p2w_1 : show;
2308
+ presentationHint = presentationHint === VOID ? this.q2w_1 : presentationHint;
2309
+ reason = reason === VOID ? this.reason : reason;
2310
+ fallbackToPasscode = fallbackToPasscode === VOID ? this.fallbackToPasscode : fallbackToPasscode;
2311
+ return $super === VOID ? this.t2w(id, title, subtitle, show, presentationHint, reason, fallbackToPasscode) : $super.t2w.call(this, new PromptId(id), title, subtitle, show, presentationHint, reason, fallbackToPasscode);
2312
+ }
2313
+ toString() {
2314
+ return 'BiometricPromptRequest(id=' + PromptId__toString_impl_44yzz2(this.m2w_1) + ', title=' + this.n2w_1 + ', subtitle=' + this.o2w_1 + ', show=' + this.p2w_1 + ', presentationHint=' + this.q2w_1.toString() + ', reason=' + this.reason + ', fallbackToPasscode=' + this.fallbackToPasscode + ')';
2315
+ }
2316
+ hashCode() {
2317
+ var result = PromptId__hashCode_impl_pw4wrx(this.m2w_1);
2318
+ result = imul(result, 31) + getStringHashCode(this.n2w_1) | 0;
2319
+ result = imul(result, 31) + (this.o2w_1 == null ? 0 : getStringHashCode(this.o2w_1)) | 0;
2320
+ result = imul(result, 31) + getBooleanHashCode(this.p2w_1) | 0;
2321
+ result = imul(result, 31) + this.q2w_1.hashCode() | 0;
2322
+ result = imul(result, 31) + getStringHashCode(this.reason) | 0;
2323
+ result = imul(result, 31) + getBooleanHashCode(this.fallbackToPasscode) | 0;
2324
+ return result;
2325
+ }
2326
+ equals(other) {
2327
+ if (this === other)
2328
+ return true;
2329
+ if (!(other instanceof BiometricPromptRequest))
2330
+ return false;
2331
+ if (!(this.m2w_1 === other.m2w_1))
2332
+ return false;
2333
+ if (!(this.n2w_1 === other.n2w_1))
2334
+ return false;
2335
+ if (!(this.o2w_1 == other.o2w_1))
2336
+ return false;
2337
+ if (!(this.p2w_1 === other.p2w_1))
2338
+ return false;
2339
+ if (!this.q2w_1.equals(other.q2w_1))
2340
+ return false;
2341
+ if (!(this.reason === other.reason))
2342
+ return false;
2343
+ if (!(this.fallbackToPasscode === other.fallbackToPasscode))
2344
+ return false;
2345
+ return true;
2346
+ }
2347
+ get id() {
2348
+ return this.w2v();
2349
+ }
2350
+ get title() {
2351
+ return this.z2v();
2352
+ }
2353
+ get subtitle() {
2354
+ return this.a2w();
2355
+ }
2356
+ get show() {
2357
+ return this.y2v();
2358
+ }
2359
+ get presentationHint() {
2360
+ return this.x2v();
2361
+ }
2362
+ }
2363
+ class BiometricUnlockPromptRequest {
2364
+ constructor(id, title, subtitle, show, presentationHint, keyId, reason, fallbackToPasscode) {
2365
+ id = id === VOID ? Companion_instance_8.g2v() : id;
2366
+ subtitle = subtitle === VOID ? null : subtitle;
2367
+ show = show === VOID ? true : show;
2368
+ presentationHint = presentationHint === VOID ? new PromptPresentationHint(PromptPriority_HIGH_getInstance()) : presentationHint;
2369
+ fallbackToPasscode = fallbackToPasscode === VOID ? true : fallbackToPasscode;
2370
+ this.u2w_1 = id;
2371
+ this.v2w_1 = title;
2372
+ this.w2w_1 = subtitle;
2373
+ this.x2w_1 = show;
2374
+ this.y2w_1 = presentationHint;
2375
+ this.keyId = keyId;
2376
+ this.reason = reason;
2377
+ this.fallbackToPasscode = fallbackToPasscode;
2378
+ }
2379
+ w2v() {
2380
+ return this.u2w_1;
2381
+ }
2382
+ z2v() {
2383
+ return this.v2w_1;
2384
+ }
2385
+ a2w() {
2386
+ return this.w2w_1;
2387
+ }
2388
+ y2v() {
2389
+ return this.x2w_1;
2390
+ }
2391
+ x2v() {
2392
+ return this.y2w_1;
2393
+ }
2394
+ z2w() {
2395
+ return this.keyId;
2396
+ }
2397
+ r2w() {
2398
+ return this.reason;
2399
+ }
2400
+ s2w() {
2401
+ return this.fallbackToPasscode;
2402
+ }
2403
+ j2w() {
2404
+ return this.u2w_1;
2405
+ }
2406
+ ok() {
2407
+ return this.v2w_1;
2408
+ }
2409
+ tr() {
2410
+ return this.w2w_1;
2411
+ }
2412
+ a2r() {
2413
+ return this.x2w_1;
2414
+ }
2415
+ b2r() {
2416
+ return this.y2w_1;
2417
+ }
2418
+ c2r() {
2419
+ return this.keyId;
2420
+ }
2421
+ d2r() {
2422
+ return this.reason;
2423
+ }
2424
+ k2w() {
2425
+ return this.fallbackToPasscode;
2426
+ }
2427
+ a2x(id, title, subtitle, show, presentationHint, keyId, reason, fallbackToPasscode) {
2428
+ return new BiometricUnlockPromptRequest(id, title, subtitle, show, presentationHint, keyId, reason, fallbackToPasscode);
2429
+ }
2430
+ copy(id, title, subtitle, show, presentationHint, keyId, reason, fallbackToPasscode, $super) {
2431
+ id = id === VOID ? this.u2w_1 : id;
2432
+ title = title === VOID ? this.v2w_1 : title;
2433
+ subtitle = subtitle === VOID ? this.w2w_1 : subtitle;
2434
+ show = show === VOID ? this.x2w_1 : show;
2435
+ presentationHint = presentationHint === VOID ? this.y2w_1 : presentationHint;
2436
+ keyId = keyId === VOID ? this.keyId : keyId;
2437
+ reason = reason === VOID ? this.reason : reason;
2438
+ fallbackToPasscode = fallbackToPasscode === VOID ? this.fallbackToPasscode : fallbackToPasscode;
2439
+ return $super === VOID ? this.a2x(id, title, subtitle, show, presentationHint, keyId, reason, fallbackToPasscode) : $super.a2x.call(this, new PromptId(id), title, subtitle, show, presentationHint, keyId, reason, fallbackToPasscode);
2440
+ }
2441
+ toString() {
2442
+ return 'BiometricUnlockPromptRequest(id=' + PromptId__toString_impl_44yzz2(this.u2w_1) + ', title=' + this.v2w_1 + ', subtitle=' + this.w2w_1 + ', show=' + this.x2w_1 + ', presentationHint=' + this.y2w_1.toString() + ', keyId=' + this.keyId + ', reason=' + this.reason + ', fallbackToPasscode=' + this.fallbackToPasscode + ')';
2443
+ }
2444
+ hashCode() {
2445
+ var result = PromptId__hashCode_impl_pw4wrx(this.u2w_1);
2446
+ result = imul(result, 31) + getStringHashCode(this.v2w_1) | 0;
2447
+ result = imul(result, 31) + (this.w2w_1 == null ? 0 : getStringHashCode(this.w2w_1)) | 0;
2448
+ result = imul(result, 31) + getBooleanHashCode(this.x2w_1) | 0;
2449
+ result = imul(result, 31) + this.y2w_1.hashCode() | 0;
2450
+ result = imul(result, 31) + getStringHashCode(this.keyId) | 0;
2451
+ result = imul(result, 31) + getStringHashCode(this.reason) | 0;
2452
+ result = imul(result, 31) + getBooleanHashCode(this.fallbackToPasscode) | 0;
2453
+ return result;
2454
+ }
2455
+ equals(other) {
2456
+ if (this === other)
2457
+ return true;
2458
+ if (!(other instanceof BiometricUnlockPromptRequest))
2459
+ return false;
2460
+ if (!(this.u2w_1 === other.u2w_1))
2461
+ return false;
2462
+ if (!(this.v2w_1 === other.v2w_1))
2463
+ return false;
2464
+ if (!(this.w2w_1 == other.w2w_1))
2465
+ return false;
2466
+ if (!(this.x2w_1 === other.x2w_1))
2467
+ return false;
2468
+ if (!this.y2w_1.equals(other.y2w_1))
2469
+ return false;
2470
+ if (!(this.keyId === other.keyId))
2471
+ return false;
2472
+ if (!(this.reason === other.reason))
2473
+ return false;
2474
+ if (!(this.fallbackToPasscode === other.fallbackToPasscode))
2475
+ return false;
2476
+ return true;
2477
+ }
2478
+ get id() {
2479
+ return this.w2v();
2480
+ }
2481
+ get title() {
2482
+ return this.z2v();
2483
+ }
2484
+ get subtitle() {
2485
+ return this.a2w();
2486
+ }
2487
+ get show() {
2488
+ return this.y2v();
2489
+ }
2490
+ get presentationHint() {
2491
+ return this.x2v();
2492
+ }
2493
+ }
2494
+ class PassphrasePromptRequest {
2495
+ constructor(id, title, subtitle, show, presentationHint, purpose, minLength, maxLength, isNumericOnly) {
2496
+ id = id === VOID ? Companion_instance_8.g2v() : id;
2497
+ subtitle = subtitle === VOID ? null : subtitle;
2498
+ show = show === VOID ? true : show;
2499
+ presentationHint = presentationHint === VOID ? new PromptPresentationHint(PromptPriority_HIGH_getInstance()) : presentationHint;
2500
+ minLength = minLength === VOID ? 4 : minLength;
2501
+ maxLength = maxLength === VOID ? null : maxLength;
2502
+ isNumericOnly = isNumericOnly === VOID ? false : isNumericOnly;
2503
+ this.b2x_1 = id;
2504
+ this.c2x_1 = title;
2505
+ this.d2x_1 = subtitle;
2506
+ this.e2x_1 = show;
2507
+ this.f2x_1 = presentationHint;
2508
+ this.purpose = purpose;
2509
+ this.minLength = minLength;
2510
+ this.maxLength = maxLength;
2511
+ this.isNumericOnly = isNumericOnly;
2512
+ }
2513
+ w2v() {
2514
+ return this.b2x_1;
2515
+ }
2516
+ z2v() {
2517
+ return this.c2x_1;
2518
+ }
2519
+ a2w() {
2520
+ return this.d2x_1;
2521
+ }
2522
+ y2v() {
2523
+ return this.e2x_1;
2524
+ }
2525
+ x2v() {
2526
+ return this.f2x_1;
2527
+ }
2528
+ g2x() {
2529
+ return this.purpose;
2530
+ }
2531
+ h2x() {
2532
+ return this.minLength;
2533
+ }
2534
+ i2x() {
2535
+ return this.maxLength;
2536
+ }
2537
+ j2x() {
2538
+ return this.isNumericOnly;
2539
+ }
2540
+ j2w() {
2541
+ return this.b2x_1;
2542
+ }
2543
+ ok() {
2544
+ return this.c2x_1;
2545
+ }
2546
+ tr() {
2547
+ return this.d2x_1;
2548
+ }
2549
+ a2r() {
2550
+ return this.e2x_1;
2551
+ }
2552
+ b2r() {
2553
+ return this.f2x_1;
2554
+ }
2555
+ c2r() {
2556
+ return this.purpose;
2557
+ }
2558
+ d2r() {
2559
+ return this.minLength;
2560
+ }
2561
+ k2w() {
2562
+ return this.maxLength;
2563
+ }
2564
+ k2x() {
2565
+ return this.isNumericOnly;
2566
+ }
2567
+ l2x(id, title, subtitle, show, presentationHint, purpose, minLength, maxLength, isNumericOnly) {
2568
+ return new PassphrasePromptRequest(id, title, subtitle, show, presentationHint, purpose, minLength, maxLength, isNumericOnly);
2569
+ }
2570
+ copy(id, title, subtitle, show, presentationHint, purpose, minLength, maxLength, isNumericOnly, $super) {
2571
+ id = id === VOID ? this.b2x_1 : id;
2572
+ title = title === VOID ? this.c2x_1 : title;
2573
+ subtitle = subtitle === VOID ? this.d2x_1 : subtitle;
2574
+ show = show === VOID ? this.e2x_1 : show;
2575
+ presentationHint = presentationHint === VOID ? this.f2x_1 : presentationHint;
2576
+ purpose = purpose === VOID ? this.purpose : purpose;
2577
+ minLength = minLength === VOID ? this.minLength : minLength;
2578
+ maxLength = maxLength === VOID ? this.maxLength : maxLength;
2579
+ isNumericOnly = isNumericOnly === VOID ? this.isNumericOnly : isNumericOnly;
2580
+ return $super === VOID ? this.l2x(id, title, subtitle, show, presentationHint, purpose, minLength, maxLength, isNumericOnly) : $super.l2x.call(this, new PromptId(id), title, subtitle, show, presentationHint, purpose, minLength, maxLength, isNumericOnly);
2581
+ }
2582
+ toString() {
2583
+ return 'PassphrasePromptRequest(id=' + PromptId__toString_impl_44yzz2(this.b2x_1) + ', title=' + this.c2x_1 + ', subtitle=' + this.d2x_1 + ', show=' + this.e2x_1 + ', presentationHint=' + this.f2x_1.toString() + ', purpose=' + this.purpose + ', minLength=' + this.minLength + ', maxLength=' + this.maxLength + ', isNumericOnly=' + this.isNumericOnly + ')';
2584
+ }
2585
+ hashCode() {
2586
+ var result = PromptId__hashCode_impl_pw4wrx(this.b2x_1);
2587
+ result = imul(result, 31) + getStringHashCode(this.c2x_1) | 0;
2588
+ result = imul(result, 31) + (this.d2x_1 == null ? 0 : getStringHashCode(this.d2x_1)) | 0;
2589
+ result = imul(result, 31) + getBooleanHashCode(this.e2x_1) | 0;
2590
+ result = imul(result, 31) + this.f2x_1.hashCode() | 0;
2591
+ result = imul(result, 31) + getStringHashCode(this.purpose) | 0;
2592
+ result = imul(result, 31) + this.minLength | 0;
2593
+ result = imul(result, 31) + (this.maxLength == null ? 0 : this.maxLength) | 0;
2594
+ result = imul(result, 31) + getBooleanHashCode(this.isNumericOnly) | 0;
2595
+ return result;
2596
+ }
2597
+ equals(other) {
2598
+ if (this === other)
2599
+ return true;
2600
+ if (!(other instanceof PassphrasePromptRequest))
2601
+ return false;
2602
+ if (!(this.b2x_1 === other.b2x_1))
2603
+ return false;
2604
+ if (!(this.c2x_1 === other.c2x_1))
2605
+ return false;
2606
+ if (!(this.d2x_1 == other.d2x_1))
2607
+ return false;
2608
+ if (!(this.e2x_1 === other.e2x_1))
2609
+ return false;
2610
+ if (!this.f2x_1.equals(other.f2x_1))
2611
+ return false;
2612
+ if (!(this.purpose === other.purpose))
2613
+ return false;
2614
+ if (!(this.minLength === other.minLength))
2615
+ return false;
2616
+ if (!(this.maxLength == other.maxLength))
2617
+ return false;
2618
+ if (!(this.isNumericOnly === other.isNumericOnly))
2619
+ return false;
2620
+ return true;
2621
+ }
2622
+ get id() {
2623
+ return this.w2v();
2624
+ }
2625
+ get title() {
2626
+ return this.z2v();
2627
+ }
2628
+ get subtitle() {
2629
+ return this.a2w();
2630
+ }
2631
+ get show() {
2632
+ return this.y2v();
2633
+ }
2634
+ get presentationHint() {
2635
+ return this.x2v();
2636
+ }
2637
+ }
2638
+ class ConfirmationPromptRequest {
2639
+ constructor(id, title, subtitle, show, presentationHint, message, confirmText, cancelText, isDestructive) {
2640
+ id = id === VOID ? Companion_instance_8.g2v() : id;
2641
+ subtitle = subtitle === VOID ? null : subtitle;
2642
+ show = show === VOID ? true : show;
2643
+ presentationHint = presentationHint === VOID ? Companion_getInstance_14().DEFAULT : presentationHint;
2644
+ confirmText = confirmText === VOID ? 'Confirm' : confirmText;
2645
+ cancelText = cancelText === VOID ? 'Cancel' : cancelText;
2646
+ isDestructive = isDestructive === VOID ? false : isDestructive;
2647
+ this.m2x_1 = id;
2648
+ this.n2x_1 = title;
2649
+ this.o2x_1 = subtitle;
2650
+ this.p2x_1 = show;
2651
+ this.q2x_1 = presentationHint;
2652
+ this.message = message;
2653
+ this.confirmText = confirmText;
2654
+ this.cancelText = cancelText;
2655
+ this.isDestructive = isDestructive;
2656
+ }
2657
+ w2v() {
2658
+ return this.m2x_1;
2659
+ }
2660
+ z2v() {
2661
+ return this.n2x_1;
2662
+ }
2663
+ a2w() {
2664
+ return this.o2x_1;
2665
+ }
2666
+ y2v() {
2667
+ return this.p2x_1;
2668
+ }
2669
+ x2v() {
2670
+ return this.q2x_1;
2671
+ }
2672
+ p() {
2673
+ return this.message;
2674
+ }
2675
+ r2x() {
2676
+ return this.confirmText;
2677
+ }
2678
+ s2x() {
2679
+ return this.cancelText;
2680
+ }
2681
+ t2x() {
2682
+ return this.isDestructive;
2683
+ }
2684
+ j2w() {
2685
+ return this.m2x_1;
2686
+ }
2687
+ ok() {
2688
+ return this.n2x_1;
2689
+ }
2690
+ tr() {
2691
+ return this.o2x_1;
2692
+ }
2693
+ a2r() {
2694
+ return this.p2x_1;
2695
+ }
2696
+ b2r() {
2697
+ return this.q2x_1;
2698
+ }
2699
+ c2r() {
2700
+ return this.message;
2701
+ }
2702
+ d2r() {
2703
+ return this.confirmText;
2704
+ }
2705
+ k2w() {
2706
+ return this.cancelText;
2707
+ }
2708
+ k2x() {
2709
+ return this.isDestructive;
2710
+ }
2711
+ u2x(id, title, subtitle, show, presentationHint, message, confirmText, cancelText, isDestructive) {
2712
+ return new ConfirmationPromptRequest(id, title, subtitle, show, presentationHint, message, confirmText, cancelText, isDestructive);
2713
+ }
2714
+ copy(id, title, subtitle, show, presentationHint, message, confirmText, cancelText, isDestructive, $super) {
2715
+ id = id === VOID ? this.m2x_1 : id;
2716
+ title = title === VOID ? this.n2x_1 : title;
2717
+ subtitle = subtitle === VOID ? this.o2x_1 : subtitle;
2718
+ show = show === VOID ? this.p2x_1 : show;
2719
+ presentationHint = presentationHint === VOID ? this.q2x_1 : presentationHint;
2720
+ message = message === VOID ? this.message : message;
2721
+ confirmText = confirmText === VOID ? this.confirmText : confirmText;
2722
+ cancelText = cancelText === VOID ? this.cancelText : cancelText;
2723
+ isDestructive = isDestructive === VOID ? this.isDestructive : isDestructive;
2724
+ return $super === VOID ? this.u2x(id, title, subtitle, show, presentationHint, message, confirmText, cancelText, isDestructive) : $super.u2x.call(this, new PromptId(id), title, subtitle, show, presentationHint, message, confirmText, cancelText, isDestructive);
2725
+ }
2726
+ toString() {
2727
+ return 'ConfirmationPromptRequest(id=' + PromptId__toString_impl_44yzz2(this.m2x_1) + ', title=' + this.n2x_1 + ', subtitle=' + this.o2x_1 + ', show=' + this.p2x_1 + ', presentationHint=' + this.q2x_1.toString() + ', message=' + this.message + ', confirmText=' + this.confirmText + ', cancelText=' + this.cancelText + ', isDestructive=' + this.isDestructive + ')';
2728
+ }
2729
+ hashCode() {
2730
+ var result = PromptId__hashCode_impl_pw4wrx(this.m2x_1);
2731
+ result = imul(result, 31) + getStringHashCode(this.n2x_1) | 0;
2732
+ result = imul(result, 31) + (this.o2x_1 == null ? 0 : getStringHashCode(this.o2x_1)) | 0;
2733
+ result = imul(result, 31) + getBooleanHashCode(this.p2x_1) | 0;
2734
+ result = imul(result, 31) + this.q2x_1.hashCode() | 0;
2735
+ result = imul(result, 31) + getStringHashCode(this.message) | 0;
2736
+ result = imul(result, 31) + getStringHashCode(this.confirmText) | 0;
2737
+ result = imul(result, 31) + getStringHashCode(this.cancelText) | 0;
2738
+ result = imul(result, 31) + getBooleanHashCode(this.isDestructive) | 0;
2739
+ return result;
2740
+ }
2741
+ equals(other) {
2742
+ if (this === other)
2743
+ return true;
2744
+ if (!(other instanceof ConfirmationPromptRequest))
2745
+ return false;
2746
+ if (!(this.m2x_1 === other.m2x_1))
2747
+ return false;
2748
+ if (!(this.n2x_1 === other.n2x_1))
2749
+ return false;
2750
+ if (!(this.o2x_1 == other.o2x_1))
2751
+ return false;
2752
+ if (!(this.p2x_1 === other.p2x_1))
2753
+ return false;
2754
+ if (!this.q2x_1.equals(other.q2x_1))
2755
+ return false;
2756
+ if (!(this.message === other.message))
2757
+ return false;
2758
+ if (!(this.confirmText === other.confirmText))
2759
+ return false;
2760
+ if (!(this.cancelText === other.cancelText))
2761
+ return false;
2762
+ if (!(this.isDestructive === other.isDestructive))
2763
+ return false;
2764
+ return true;
2765
+ }
2766
+ get id() {
2767
+ return this.w2v();
2768
+ }
2769
+ get title() {
2770
+ return this.z2v();
2771
+ }
2772
+ get subtitle() {
2773
+ return this.a2w();
2774
+ }
2775
+ get show() {
2776
+ return this.y2v();
2777
+ }
2778
+ get presentationHint() {
2779
+ return this.x2v();
2780
+ }
2781
+ }
2782
+ class PromptResponse {}
2783
+ class PromptState extends Enum {
2784
+ z2x() {
2785
+ var tmp;
2786
+ switch (this.q1_1) {
2787
+ case 0:
2788
+ case 1:
2789
+ tmp = false;
2790
+ break;
2791
+ case 2:
2792
+ case 3:
2793
+ case 4:
2794
+ case 5:
2795
+ tmp = true;
2796
+ break;
2797
+ default:
2798
+ noWhenBranchMatchedException();
2799
+ break;
2800
+ }
2801
+ return tmp;
2802
+ }
2803
+ d2h() {
2804
+ return this.equals(PromptState_ACTIVE_getInstance());
2805
+ }
2806
+ a2y() {
2807
+ return this.equals(PromptState_PENDING_getInstance());
2808
+ }
2809
+ get isTerminal() {
2810
+ return this.z2x();
2811
+ }
2812
+ get isActive() {
2813
+ return this.d2h();
2814
+ }
2815
+ get isPending() {
2816
+ return this.a2y();
2817
+ }
2818
+ get name() {
2819
+ return this.b1();
2820
+ }
2821
+ get ordinal() {
2822
+ return this.a5();
2823
+ }
2824
+ }
2825
+ class ForegroundState extends Enum {
2826
+ get name() {
2827
+ return this.b1();
2828
+ }
2829
+ get ordinal() {
2830
+ return this.a5();
2831
+ }
2832
+ }
2833
+ class PromptPresenter {}
2834
+ class WizardStep {}
2835
+ function get_isFinal() {
2836
+ return false;
2837
+ }
2838
+ function get_data() {
2839
+ return null;
2840
+ }
2841
+ //endregion
2842
+ var Encoding_BASE64_instance;
2843
+ var Encoding_BASE64URL_instance;
2844
+ var Encoding_BASE58BTC_instance;
2845
+ var Encoding_HEX_instance;
2846
+ var Encoding_UTF8_instance;
2847
+ function values() {
2848
+ return [Encoding_BASE64_getInstance(), Encoding_BASE64URL_getInstance(), Encoding_BASE58BTC_getInstance(), Encoding_HEX_getInstance(), Encoding_UTF8_getInstance()];
2849
+ }
2850
+ function valueOf(value) {
2851
+ switch (value) {
2852
+ case 'BASE64':
2853
+ return Encoding_BASE64_getInstance();
2854
+ case 'BASE64URL':
2855
+ return Encoding_BASE64URL_getInstance();
2856
+ case 'BASE58BTC':
2857
+ return Encoding_BASE58BTC_getInstance();
2858
+ case 'HEX':
2859
+ return Encoding_HEX_getInstance();
2860
+ case 'UTF8':
2861
+ return Encoding_UTF8_getInstance();
2862
+ default:
2863
+ Encoding_initEntries();
2864
+ THROW_IAE('No enum constant com.sphereon.core.api.Encoding.' + value);
2865
+ break;
2866
+ }
2867
+ }
2868
+ var Encoding_entriesInitialized;
2869
+ function Encoding_initEntries() {
2870
+ if (Encoding_entriesInitialized)
2871
+ return Unit_instance;
2872
+ Encoding_entriesInitialized = true;
2873
+ Encoding_BASE64_instance = new Encoding('BASE64', 0);
2874
+ Encoding_BASE64URL_instance = new Encoding('BASE64URL', 1);
2875
+ Encoding_BASE58BTC_instance = new Encoding('BASE58BTC', 2);
2876
+ Encoding_HEX_instance = new Encoding('HEX', 3);
2877
+ Encoding_UTF8_instance = new Encoding('UTF8', 4);
2878
+ }
2879
+ function decodeFromHex(_this__u8e3s4) {
2880
+ return hexToByteArray(_this__u8e3s4, Companion_getInstance().tn_1);
2881
+ }
2882
+ function encodeToHex(_this__u8e3s4) {
2883
+ return toHexString(_this__u8e3s4, Companion_getInstance().tn_1);
2884
+ }
2885
+ function encodeToBase58Btc(_this__u8e3s4) {
2886
+ // Inline function 'kotlin.collections.isEmpty' call
2887
+ if (_this__u8e3s4.length === 0)
2888
+ return '';
2889
+ var leadingZeros = 0;
2890
+ var inductionVariable = 0;
2891
+ var last = _this__u8e3s4.length;
2892
+ $l$loop: while (inductionVariable < last) {
2893
+ var byte = _this__u8e3s4[inductionVariable];
2894
+ inductionVariable = inductionVariable + 1 | 0;
2895
+ if (byte === 0) {
2896
+ leadingZeros = leadingZeros + 1 | 0;
2897
+ } else
2898
+ break $l$loop;
2899
+ }
2900
+ // Inline function 'kotlin.collections.copyOf' call
2901
+ // Inline function 'kotlin.js.asDynamic' call
2902
+ var input = _this__u8e3s4.slice();
2903
+ var result = StringBuilder.f1();
2904
+ var inputStart = 0;
2905
+ while (inputStart < input.length) {
2906
+ var remainder = 0;
2907
+ var allZero = true;
2908
+ var inductionVariable_0 = inputStart;
2909
+ var last_0 = input.length;
2910
+ if (inductionVariable_0 < last_0)
2911
+ do {
2912
+ var i = inductionVariable_0;
2913
+ inductionVariable_0 = inductionVariable_0 + 1 | 0;
2914
+ var value = (input[i] & 255) + imul(remainder, 256) | 0;
2915
+ input[i] = toByte(value / 58 | 0);
2916
+ remainder = value % 58 | 0;
2917
+ if (!(input[i] === 0))
2918
+ allZero = false;
2919
+ }
2920
+ while (inductionVariable_0 < last_0);
2921
+ result.i1(charCodeAt('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz', remainder));
2922
+ if (allZero || input[inputStart] === 0) {
2923
+ while (inputStart < input.length && input[inputStart] === 0) {
2924
+ inputStart = inputStart + 1 | 0;
2925
+ }
2926
+ }
2927
+ }
2928
+ // Inline function 'kotlin.repeat' call
2929
+ var times = leadingZeros;
2930
+ var inductionVariable_1 = 0;
2931
+ if (inductionVariable_1 < times)
2932
+ do {
2933
+ var index = inductionVariable_1;
2934
+ inductionVariable_1 = inductionVariable_1 + 1 | 0;
2935
+ result.i1(_Char___init__impl__6a9atx(49));
2936
+ }
2937
+ while (inductionVariable_1 < times);
2938
+ return result.og().toString();
2939
+ }
2940
+ function decodeFromBase58Btc(_this__u8e3s4) {
2941
+ // Inline function 'kotlin.text.isEmpty' call
2942
+ if (charSequenceLength(_this__u8e3s4) === 0)
2943
+ return new Int8Array(0);
2944
+ var leadingOnes = 0;
2945
+ var inductionVariable = 0;
2946
+ var last = _this__u8e3s4.length;
2947
+ $l$loop: while (inductionVariable < last) {
2948
+ var char = charCodeAt(_this__u8e3s4, inductionVariable);
2949
+ inductionVariable = inductionVariable + 1 | 0;
2950
+ if (char === _Char___init__impl__6a9atx(49)) {
2951
+ leadingOnes = leadingOnes + 1 | 0;
2952
+ } else
2953
+ break $l$loop;
2954
+ }
2955
+ var size = (imul(_this__u8e3s4.length, 733) / 1000 | 0) + 1 | 0;
2956
+ var output = new Int8Array(size);
2957
+ var inductionVariable_0 = 0;
2958
+ var last_0 = _this__u8e3s4.length;
2959
+ while (inductionVariable_0 < last_0) {
2960
+ var char_0 = charCodeAt(_this__u8e3s4, inductionVariable_0);
2961
+ inductionVariable_0 = inductionVariable_0 + 1 | 0;
2962
+ var index = indexOf('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz', char_0);
2963
+ // Inline function 'kotlin.require' call
2964
+ if (!(index >= 0)) {
2965
+ var message = 'Invalid base58 character: ' + toString(char_0);
2966
+ throw IllegalArgumentException.y1(toString_0(message));
2967
+ }
2968
+ var carry = index;
2969
+ var inductionVariable_1 = output.length - 1 | 0;
2970
+ if (0 <= inductionVariable_1)
2971
+ do {
2972
+ var i = inductionVariable_1;
2973
+ inductionVariable_1 = inductionVariable_1 + -1 | 0;
2974
+ carry = carry + imul(58, output[i] & 255) | 0;
2975
+ output[i] = toByte(carry & 255);
2976
+ carry = carry >> 8;
2977
+ }
2978
+ while (0 <= inductionVariable_1);
2979
+ }
2980
+ var start = 0;
2981
+ while (start < output.length && output[start] === 0) {
2982
+ start = start + 1 | 0;
2983
+ }
2984
+ var tmp = 0;
2985
+ var tmp_0 = leadingOnes;
2986
+ var tmp_1 = new Int8Array(tmp_0);
2987
+ while (tmp < tmp_0) {
2988
+ tmp_1[tmp] = 0;
2989
+ tmp = tmp + 1 | 0;
2990
+ }
2991
+ // Inline function 'kotlin.collections.plus' call
2992
+ var elements = copyOfRange(output, start, output.length);
2993
+ return primitiveArrayConcat([tmp_1, elements]);
2994
+ }
2995
+ function decodeFromBase64Url(_this__u8e3s4) {
2996
+ return decodeFromBase64Internal(_this__u8e3s4, true);
2997
+ }
2998
+ function encodeToBase64Url(_this__u8e3s4) {
2999
+ return encodeToBase64Internal(_this__u8e3s4, true, false);
3000
+ }
3001
+ function encodeToBase64(_this__u8e3s4, urlSafe) {
3002
+ urlSafe = urlSafe === VOID ? false : urlSafe;
3003
+ return encodeToBase64Internal(_this__u8e3s4, urlSafe, true);
3004
+ }
3005
+ function decodeFromBase64(_this__u8e3s4, urlSafe) {
3006
+ urlSafe = urlSafe === VOID ? false : urlSafe;
3007
+ return decodeFromBase64Internal(_this__u8e3s4, urlSafe);
3008
+ }
3009
+ function decodeFrom(_this__u8e3s4, encoding) {
3010
+ var tmp;
3011
+ switch (encoding.q1_1) {
3012
+ case 1:
3013
+ tmp = decodeFromBase64Url(_this__u8e3s4);
3014
+ break;
3015
+ case 0:
3016
+ tmp = decodeFromBase64(_this__u8e3s4, false);
3017
+ break;
3018
+ case 2:
3019
+ tmp = decodeFromBase58Btc(_this__u8e3s4);
3020
+ break;
3021
+ case 3:
3022
+ tmp = decodeFromHex(_this__u8e3s4);
3023
+ break;
3024
+ case 4:
3025
+ tmp = encodeToByteArray(_this__u8e3s4);
3026
+ break;
3027
+ default:
3028
+ noWhenBranchMatchedException();
3029
+ break;
3030
+ }
3031
+ return tmp;
3032
+ }
3033
+ function encodeTo(_this__u8e3s4, encoding) {
3034
+ var tmp;
3035
+ switch (encoding.q1_1) {
3036
+ case 1:
3037
+ tmp = encodeToBase64Url(_this__u8e3s4);
3038
+ break;
3039
+ case 0:
3040
+ tmp = encodeToBase64(_this__u8e3s4, false);
3041
+ break;
3042
+ case 2:
3043
+ tmp = encodeToBase58Btc(_this__u8e3s4);
3044
+ break;
3045
+ case 3:
3046
+ tmp = encodeToHex(_this__u8e3s4);
3047
+ break;
3048
+ case 4:
3049
+ tmp = decodeToString(_this__u8e3s4);
3050
+ break;
3051
+ default:
3052
+ noWhenBranchMatchedException();
3053
+ break;
3054
+ }
3055
+ return tmp;
3056
+ }
3057
+ function decodeUrlGraph(_this__u8e3s4) {
3058
+ return replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(_this__u8e3s4, '+', ' '), '%20', ' '), '%21', '!'), '%22', '"'), '%23', '#'), '%24', '$'), '%26', '&'), '%27', "'"), '%28', '('), '%29', ')'), '%2A', '*'), '%2B', '+'), '%2C', ','), '%2F', '/'), '%3A', ':'), '%3B', ';'), '%3D', '='), '%3F', '?'), '%40', '@'), '%5B', '['), '%5D', ']'), '%7B', '{'), '%7D', '}');
3059
+ }
3060
+ function encodeUrlGraph(_this__u8e3s4) {
3061
+ return replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(_this__u8e3s4, '%', '%25'), ' ', '%20'), '!', '%21'), '"', '%22'), '#', '%23'), '$', '%24'), '&', '%26'), "'", '%27'), '(', '%28'), ')', '%29'), '*', '%2A'), '+', '%2B'), ',', '%2C'), '/', '%2F'), ':', '%3A'), ';', '%3B'), '=', '%3D'), '?', '%3F'), '@', '%40'), '[', '%5B'), ']', '%5D'), '{', '%7B'), '}', '%7D');
3062
+ }
3063
+ var Base64UrlSerializer_instance;
3064
+ function Base64UrlSerializer_getInstance() {
3065
+ if (Base64UrlSerializer_instance === VOID)
3066
+ new Base64UrlSerializer();
3067
+ return Base64UrlSerializer_instance;
3068
+ }
3069
+ var Base64Serializer_instance;
3070
+ function Base64Serializer_getInstance() {
3071
+ if (Base64Serializer_instance === VOID)
3072
+ new Base64Serializer();
3073
+ return Base64Serializer_instance;
3074
+ }
3075
+ function decodeFromBase64Internal(_this__u8e3s4, urlSafe) {
3076
+ // Inline function 'kotlin.text.isEmpty' call
3077
+ if (charSequenceLength(_this__u8e3s4) === 0)
3078
+ return new Int8Array(0);
3079
+ // Inline function 'kotlin.text.filter' call
3080
+ // Inline function 'kotlin.text.filterTo' call
3081
+ var destination = StringBuilder.f1();
3082
+ var inductionVariable = 0;
3083
+ var last = charSequenceLength(_this__u8e3s4);
3084
+ if (inductionVariable < last)
3085
+ do {
3086
+ var index = inductionVariable;
3087
+ inductionVariable = inductionVariable + 1 | 0;
3088
+ var element = charSequenceGet(_this__u8e3s4, index);
3089
+ if (!isWhitespace(element)) {
3090
+ destination.i1(element);
3091
+ }
3092
+ }
3093
+ while (inductionVariable < last);
3094
+ var tmp$ret$1 = destination.toString();
3095
+ var input = trimEnd(tmp$ret$1, charArrayOf([_Char___init__impl__6a9atx(61)]));
3096
+ // Inline function 'kotlin.text.isEmpty' call
3097
+ if (charSequenceLength(input) === 0)
3098
+ return new Int8Array(0);
3099
+ var alphabet = urlSafe ? 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_' : 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
3100
+ var tmp = 0;
3101
+ var tmp_0 = new Int32Array(128);
3102
+ while (tmp < 128) {
3103
+ tmp_0[tmp] = -1;
3104
+ tmp = tmp + 1 | 0;
3105
+ }
3106
+ var lookup = tmp_0;
3107
+ // Inline function 'kotlin.text.forEachIndexed' call
3108
+ var index_0 = 0;
3109
+ var indexedObject = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
3110
+ var inductionVariable_0 = 0;
3111
+ while (inductionVariable_0 < charSequenceLength(indexedObject)) {
3112
+ var item = charSequenceGet(indexedObject, inductionVariable_0);
3113
+ inductionVariable_0 = inductionVariable_0 + 1 | 0;
3114
+ var _unary__edvuaz = index_0;
3115
+ index_0 = _unary__edvuaz + 1 | 0;
3116
+ // Inline function 'kotlin.code' call
3117
+ lookup[Char__toInt_impl_vasixd(item)] = _unary__edvuaz;
3118
+ }
3119
+ // Inline function 'kotlin.text.forEachIndexed' call
3120
+ var index_1 = 0;
3121
+ var indexedObject_0 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
3122
+ var inductionVariable_1 = 0;
3123
+ while (inductionVariable_1 < charSequenceLength(indexedObject_0)) {
3124
+ var item_0 = charSequenceGet(indexedObject_0, inductionVariable_1);
3125
+ inductionVariable_1 = inductionVariable_1 + 1 | 0;
3126
+ var _unary__edvuaz_0 = index_1;
3127
+ index_1 = _unary__edvuaz_0 + 1 | 0;
3128
+ // Inline function 'kotlin.code' call
3129
+ lookup[Char__toInt_impl_vasixd(item_0)] = _unary__edvuaz_0;
3130
+ }
3131
+ var outputSize = imul(input.length, 3) / 4 | 0;
3132
+ var output = new Int8Array(outputSize);
3133
+ var outputIndex = 0;
3134
+ var i = 0;
3135
+ while (i < input.length) {
3136
+ var c0 = charCodeAt(input, i);
3137
+ var c1 = (i + 1 | 0) < input.length ? charCodeAt(input, i + 1 | 0) : _Char___init__impl__6a9atx(65);
3138
+ var c2 = (i + 2 | 0) < input.length ? charCodeAt(input, i + 2 | 0) : _Char___init__impl__6a9atx(65);
3139
+ var c3 = (i + 3 | 0) < input.length ? charCodeAt(input, i + 3 | 0) : _Char___init__impl__6a9atx(65);
3140
+ var tmp_1;
3141
+ // Inline function 'kotlin.code' call
3142
+ if (Char__toInt_impl_vasixd(c0) < 128) {
3143
+ // Inline function 'kotlin.code' call
3144
+ tmp_1 = lookup[Char__toInt_impl_vasixd(c0)] >= 0;
3145
+ } else {
3146
+ tmp_1 = false;
3147
+ }
3148
+ // Inline function 'kotlin.require' call
3149
+ if (!tmp_1) {
3150
+ var message = 'Invalid base64 character: ' + toString(c0);
3151
+ throw IllegalArgumentException.y1(toString_0(message));
3152
+ }
3153
+ var tmp_2;
3154
+ if ((i + 1 | 0) >= input.length) {
3155
+ tmp_2 = true;
3156
+ } else {
3157
+ var tmp_3;
3158
+ // Inline function 'kotlin.code' call
3159
+ if (Char__toInt_impl_vasixd(c1) < 128) {
3160
+ // Inline function 'kotlin.code' call
3161
+ tmp_3 = lookup[Char__toInt_impl_vasixd(c1)] >= 0;
3162
+ } else {
3163
+ tmp_3 = false;
3164
+ }
3165
+ tmp_2 = tmp_3;
3166
+ }
3167
+ // Inline function 'kotlin.require' call
3168
+ if (!tmp_2) {
3169
+ var message_0 = 'Invalid base64 character: ' + toString(c1);
3170
+ throw IllegalArgumentException.y1(toString_0(message_0));
3171
+ }
3172
+ // Inline function 'kotlin.code' call
3173
+ var v0 = lookup[Char__toInt_impl_vasixd(c0)];
3174
+ var tmp_4;
3175
+ if ((i + 1 | 0) < input.length) {
3176
+ // Inline function 'kotlin.code' call
3177
+ tmp_4 = lookup[Char__toInt_impl_vasixd(c1)];
3178
+ } else {
3179
+ tmp_4 = 0;
3180
+ }
3181
+ var v1 = tmp_4;
3182
+ var tmp_5;
3183
+ if ((i + 2 | 0) < input.length) {
3184
+ // Inline function 'kotlin.code' call
3185
+ tmp_5 = lookup[Char__toInt_impl_vasixd(c2)];
3186
+ } else {
3187
+ tmp_5 = 0;
3188
+ }
3189
+ var v2 = tmp_5;
3190
+ var tmp_6;
3191
+ if ((i + 3 | 0) < input.length) {
3192
+ // Inline function 'kotlin.code' call
3193
+ tmp_6 = lookup[Char__toInt_impl_vasixd(c3)];
3194
+ } else {
3195
+ tmp_6 = 0;
3196
+ }
3197
+ var v3 = tmp_6;
3198
+ if (outputIndex < output.length) {
3199
+ var _unary__edvuaz_1 = outputIndex;
3200
+ outputIndex = _unary__edvuaz_1 + 1 | 0;
3201
+ output[_unary__edvuaz_1] = toByte(v0 << 2 | v1 >> 4);
3202
+ }
3203
+ if ((i + 2 | 0) < input.length && outputIndex < output.length) {
3204
+ var _unary__edvuaz_2 = outputIndex;
3205
+ outputIndex = _unary__edvuaz_2 + 1 | 0;
3206
+ output[_unary__edvuaz_2] = toByte(v1 << 4 | v2 >> 2);
3207
+ }
3208
+ if ((i + 3 | 0) < input.length && outputIndex < output.length) {
3209
+ var _unary__edvuaz_3 = outputIndex;
3210
+ outputIndex = _unary__edvuaz_3 + 1 | 0;
3211
+ output[_unary__edvuaz_3] = toByte(v2 << 6 | v3);
3212
+ }
3213
+ i = i + 4 | 0;
3214
+ }
3215
+ return outputIndex === output.length ? output : copyOf(output, outputIndex);
3216
+ }
3217
+ function encodeToBase64Internal(_this__u8e3s4, urlSafe, padding) {
3218
+ // Inline function 'kotlin.collections.isEmpty' call
3219
+ if (_this__u8e3s4.length === 0)
3220
+ return '';
3221
+ var alphabet = urlSafe ? 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_' : 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
3222
+ var output = StringBuilder.f1();
3223
+ var i = 0;
3224
+ while (i < _this__u8e3s4.length) {
3225
+ var b0 = _this__u8e3s4[i] & 255;
3226
+ output.i1(charCodeAt(alphabet, b0 >> 2));
3227
+ if ((i + 1 | 0) < _this__u8e3s4.length) {
3228
+ var b1 = _this__u8e3s4[i + 1 | 0] & 255;
3229
+ output.i1(charCodeAt(alphabet, (b0 & 3) << 4 | b1 >> 4));
3230
+ if ((i + 2 | 0) < _this__u8e3s4.length) {
3231
+ var b2 = _this__u8e3s4[i + 2 | 0] & 255;
3232
+ output.i1(charCodeAt(alphabet, (b1 & 15) << 2 | b2 >> 6));
3233
+ output.i1(charCodeAt(alphabet, b2 & 63));
3234
+ } else {
3235
+ output.i1(charCodeAt(alphabet, (b1 & 15) << 2));
3236
+ if (padding) {
3237
+ output.i1(_Char___init__impl__6a9atx(61));
3238
+ }
3239
+ }
3240
+ } else {
3241
+ output.i1(charCodeAt(alphabet, (b0 & 3) << 4));
3242
+ if (padding) {
3243
+ output.g1('==');
3244
+ }
3245
+ }
3246
+ i = i + 3 | 0;
3247
+ }
3248
+ return output.toString();
3249
+ }
3250
+ function Encoding_BASE64_getInstance() {
3251
+ Encoding_initEntries();
3252
+ return Encoding_BASE64_instance;
3253
+ }
3254
+ function Encoding_BASE64URL_getInstance() {
3255
+ Encoding_initEntries();
3256
+ return Encoding_BASE64URL_instance;
3257
+ }
3258
+ function Encoding_BASE58BTC_getInstance() {
3259
+ Encoding_initEntries();
3260
+ return Encoding_BASE58BTC_instance;
3261
+ }
3262
+ function Encoding_HEX_getInstance() {
3263
+ Encoding_initEntries();
3264
+ return Encoding_HEX_instance;
3265
+ }
3266
+ function Encoding_UTF8_getInstance() {
3267
+ Encoding_initEntries();
3268
+ return Encoding_UTF8_instance;
3269
+ }
3270
+ var Companion_instance;
3271
+ function Companion_getInstance_4() {
3272
+ return Companion_instance;
3273
+ }
3274
+ function IdkIsOk(result) {
3275
+ return result.isOk;
3276
+ }
3277
+ function IdkIsErr(result) {
3278
+ return result.isErr;
3279
+ }
3280
+ function IdkGetOrNull(result) {
3281
+ return result.getOrNull();
3282
+ }
3283
+ function IdkErrorOrNull(result) {
3284
+ return result.errorOrNull();
3285
+ }
3286
+ function IdkOkResult(value) {
3287
+ return new Ok_0(value);
3288
+ }
3289
+ function IdkErrorResult(error) {
3290
+ return new Err_0(error);
3291
+ }
3292
+ function asErrorResult(_this__u8e3s4) {
3293
+ return IdkErrorResult(_this__u8e3s4);
3294
+ }
3295
+ function toException(_this__u8e3s4) {
3296
+ var tmp;
3297
+ if (_this__u8e3s4 instanceof IdkError) {
3298
+ var tmp1_elvis_lhs = _this__u8e3s4.exception;
3299
+ tmp = tmp1_elvis_lhs == null ? IllegalStateException.o(_this__u8e3s4.message.defaultMessage) : tmp1_elvis_lhs;
3300
+ } else {
3301
+ tmp = IllegalStateException.o(toString_0(_this__u8e3s4));
3302
+ }
3303
+ return tmp;
3304
+ }
3305
+ var Severity_INFO_instance;
3306
+ var Severity_WARNING_instance;
3307
+ var Severity_ERROR_instance;
3308
+ var Severity_FATAL_instance;
3309
+ function values_0() {
3310
+ return [Severity_INFO_getInstance(), Severity_WARNING_getInstance(), Severity_ERROR_getInstance(), Severity_FATAL_getInstance()];
3311
+ }
3312
+ function valueOf_0(value) {
3313
+ switch (value) {
3314
+ case 'INFO':
3315
+ return Severity_INFO_getInstance();
3316
+ case 'WARNING':
3317
+ return Severity_WARNING_getInstance();
3318
+ case 'ERROR':
3319
+ return Severity_ERROR_getInstance();
3320
+ case 'FATAL':
3321
+ return Severity_FATAL_getInstance();
3322
+ default:
3323
+ Severity_initEntries();
3324
+ THROW_IAE('No enum constant com.sphereon.core.api.error.IdkError.Severity.' + value);
3325
+ break;
3326
+ }
3327
+ }
3328
+ var Severity_entriesInitialized;
3329
+ function Severity_initEntries() {
3330
+ if (Severity_entriesInitialized)
3331
+ return Unit_instance;
3332
+ Severity_entriesInitialized = true;
3333
+ Severity_INFO_instance = new Severity('INFO', 0, 10);
3334
+ Severity_WARNING_instance = new Severity('WARNING', 1, 20);
3335
+ Severity_ERROR_instance = new Severity('ERROR', 2, 30);
3336
+ Severity_FATAL_instance = new Severity('FATAL', 3, 40);
3337
+ }
3338
+ var Companion_instance_0;
3339
+ function Companion_getInstance_5() {
3340
+ return Companion_instance_0;
3341
+ }
3342
+ function fromDTO(error) {
3343
+ return Companion_instance_0.j2o(error);
3344
+ }
3345
+ function fromString(message_0, code, exception, i18nKey, severity, category) {
3346
+ code = code === VOID ? 'UNKNOWN_ERROR' : code;
3347
+ exception = exception === VOID ? null : exception;
3348
+ i18nKey = i18nKey === VOID ? message : i18nKey;
3349
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3350
+ category = category === VOID ? ErrorCategory_INTERNAL_getInstance() : category;
3351
+ return Companion_instance_0.l2o(message_0, code, exception, i18nKey, severity, category);
3352
+ }
3353
+ function fromDefinition(definition_0, i18nParams, causes, meta, severity, category, exception) {
3354
+ i18nParams = i18nParams === VOID ? emptyMap() : i18nParams;
3355
+ causes = causes === VOID ? emptyList() : causes;
3356
+ meta = meta === VOID ? emptyMap() : meta;
3357
+ severity = severity === VOID ? definition.severity : severity;
3358
+ category = category === VOID ? definition.category : category;
3359
+ exception = exception === VOID ? null : exception;
3360
+ return Companion_instance_0.n2o(definition_0, i18nParams, causes, meta, severity, category, exception);
3361
+ }
3362
+ function UNKNOWN_ERROR(severity, causes, message, exception) {
3363
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3364
+ causes = causes === VOID ? emptyList() : causes;
3365
+ message = message === VOID ? 'An unknown error occurred' : message;
3366
+ exception = exception === VOID ? null : exception;
3367
+ return Companion_instance_0.p2o(severity, causes, message, exception);
3368
+ }
3369
+ function ILLEGAL_ARGUMENT_ERROR(severity, causes, arg_0, message, throwable) {
3370
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3371
+ causes = causes === VOID ? emptyList() : causes;
3372
+ arg_0 = arg_0 === VOID ? null : arg_0;
3373
+ var tmp;
3374
+ if (message === VOID) {
3375
+ var tmp0_safe_receiver = arg;
3376
+ var tmp_0;
3377
+ if (tmp0_safe_receiver == null) {
3378
+ tmp_0 = null;
3379
+ } else {
3380
+ // Inline function 'kotlin.let' call
3381
+ tmp_0 = ': ' + toString_0(tmp0_safe_receiver);
3382
+ }
3383
+ var tmp1_elvis_lhs = tmp_0;
3384
+ tmp = 'An illegal argument was supplied' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
3385
+ } else {
3386
+ tmp = message;
3387
+ }
3388
+ message = tmp;
3389
+ throwable = throwable === VOID ? null : throwable;
3390
+ return Companion_instance_0.r2o(severity, causes, arg_0, message, throwable);
3391
+ }
3392
+ function COMMAND_ARG_NOT_SUPPORTED_ERROR(severity, causes, command_0, arg_0, message, throwable) {
3393
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3394
+ causes = causes === VOID ? emptyList() : causes;
3395
+ command_0 = command_0 === VOID ? null : command_0;
3396
+ arg_0 = arg_0 === VOID ? null : arg_0;
3397
+ var tmp;
3398
+ if (message === VOID) {
3399
+ var tmp0_safe_receiver = (!(command == null) ? isInterface(command, Command) : false) ? command : null;
3400
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n2c();
3401
+ var tmp_0 = tmp1_elvis_lhs == null ? '<unknown>' : tmp1_elvis_lhs;
3402
+ var tmp2_safe_receiver = arg;
3403
+ var tmp_1;
3404
+ if (tmp2_safe_receiver == null) {
3405
+ tmp_1 = null;
3406
+ } else {
3407
+ // Inline function 'kotlin.let' call
3408
+ tmp_1 = ': ' + toString_0(tmp2_safe_receiver);
3409
+ }
3410
+ var tmp3_elvis_lhs = tmp_1;
3411
+ tmp = 'The command ' + tmp_0 + ' does not support the argument' + (tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
3412
+ } else {
3413
+ tmp = message;
3414
+ }
3415
+ message = tmp;
3416
+ throwable = throwable === VOID ? null : throwable;
3417
+ return Companion_instance_0.t2o(severity, causes, command_0, arg_0, message, throwable);
3418
+ }
3419
+ function NOT_FOUND_ERROR(severity, causes, resource_0, message, throwable) {
3420
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3421
+ causes = causes === VOID ? emptyList() : causes;
3422
+ resource_0 = resource_0 === VOID ? null : resource_0;
3423
+ var tmp;
3424
+ if (message === VOID) {
3425
+ var tmp0_safe_receiver = resource;
3426
+ var tmp_0;
3427
+ if (tmp0_safe_receiver == null) {
3428
+ tmp_0 = null;
3429
+ } else {
3430
+ // Inline function 'kotlin.let' call
3431
+ tmp_0 = ': ' + tmp0_safe_receiver;
3432
+ }
3433
+ var tmp1_elvis_lhs = tmp_0;
3434
+ tmp = 'Not found' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
3435
+ } else {
3436
+ tmp = message;
3437
+ }
3438
+ message = tmp;
3439
+ throwable = throwable === VOID ? null : throwable;
3440
+ return Companion_instance_0.v2o(severity, causes, resource_0, message, throwable);
3441
+ }
3442
+ function COMMAND_DISABLED_ERROR(commandId, severity, causes, throwable) {
3443
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3444
+ causes = causes === VOID ? emptyList() : causes;
3445
+ throwable = throwable === VOID ? null : throwable;
3446
+ return Companion_instance_0.x2o(commandId, severity, causes, throwable);
3447
+ }
3448
+ function COMMAND_SKIPPED_ERROR(commandId, reason, severity, causes, throwable) {
3449
+ reason = reason === VOID ? null : reason;
3450
+ severity = severity === VOID ? Severity_INFO_getInstance() : severity;
3451
+ causes = causes === VOID ? emptyList() : causes;
3452
+ throwable = throwable === VOID ? null : throwable;
3453
+ return Companion_instance_0.z2o(commandId, reason, severity, causes, throwable);
3454
+ }
3455
+ function COMMAND_NOT_AUTHORIZED_ERROR(commandId, reason, actor, severity, causes, throwable) {
3456
+ actor = actor === VOID ? null : actor;
3457
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3458
+ causes = causes === VOID ? emptyList() : causes;
3459
+ throwable = throwable === VOID ? null : throwable;
3460
+ return Companion_instance_0.b2p(commandId, reason, actor, severity, causes, throwable);
3461
+ }
3462
+ function ALL_HANDLERS_FAILED_ERROR(errors, severity, throwable) {
3463
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3464
+ throwable = throwable === VOID ? null : throwable;
3465
+ return Companion_instance_0.d2p(errors, severity, throwable);
3466
+ }
3467
+ function UNAUTHORIZED_ERROR(message, severity, causes, throwable) {
3468
+ message = message === VOID ? 'Unauthorized' : message;
3469
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3470
+ causes = causes === VOID ? emptyList() : causes;
3471
+ throwable = throwable === VOID ? null : throwable;
3472
+ return Companion_instance_0.f2p(message, severity, causes, throwable);
3473
+ }
3474
+ function FORBIDDEN_ERROR(message, severity, causes, throwable) {
3475
+ message = message === VOID ? 'Access forbidden' : message;
3476
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3477
+ causes = causes === VOID ? emptyList() : causes;
3478
+ throwable = throwable === VOID ? null : throwable;
3479
+ return Companion_instance_0.h2p(message, severity, causes, throwable);
3480
+ }
3481
+ function ALREADY_EXISTS_ERROR(severity, causes, resource_0, message, throwable) {
3482
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3483
+ causes = causes === VOID ? emptyList() : causes;
3484
+ resource_0 = resource_0 === VOID ? null : resource_0;
3485
+ var tmp;
3486
+ if (message === VOID) {
3487
+ var tmp0_safe_receiver = resource;
3488
+ var tmp_0;
3489
+ if (tmp0_safe_receiver == null) {
3490
+ tmp_0 = null;
3491
+ } else {
3492
+ // Inline function 'kotlin.let' call
3493
+ tmp_0 = ': ' + tmp0_safe_receiver;
3494
+ }
3495
+ var tmp1_elvis_lhs = tmp_0;
3496
+ tmp = 'Already exists' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
3497
+ } else {
3498
+ tmp = message;
3499
+ }
3500
+ message = tmp;
3501
+ throwable = throwable === VOID ? null : throwable;
3502
+ return Companion_instance_0.j2p(severity, causes, resource_0, message, throwable);
3503
+ }
3504
+ function INVALID_STATE(severity, causes, message, throwable) {
3505
+ severity = severity === VOID ? Severity_ERROR_getInstance() : severity;
3506
+ causes = causes === VOID ? emptyList() : causes;
3507
+ message = message === VOID ? 'Invalid state' : message;
3508
+ throwable = throwable === VOID ? null : throwable;
3509
+ return Companion_instance_0.l2p(severity, causes, message, throwable);
3510
+ }
3511
+ function Severity_INFO_getInstance() {
3512
+ Severity_initEntries();
3513
+ return Severity_INFO_instance;
3514
+ }
3515
+ function Severity_WARNING_getInstance() {
3516
+ Severity_initEntries();
3517
+ return Severity_WARNING_instance;
3518
+ }
3519
+ function Severity_ERROR_getInstance() {
3520
+ Severity_initEntries();
3521
+ return Severity_ERROR_instance;
3522
+ }
3523
+ function Severity_FATAL_getInstance() {
3524
+ Severity_initEntries();
3525
+ return Severity_FATAL_instance;
3526
+ }
3527
+ function _get_$cachedSerializer__te6jhj($this) {
3528
+ return $this.v2p_1.h4();
3529
+ }
3530
+ function ErrorCategory$Companion$_anonymous__624p1z() {
3531
+ return createSimpleEnumSerializer('com.sphereon.core.api.error.ErrorCategory', values_1());
3532
+ }
3533
+ var ErrorCategory_VALIDATION_instance;
3534
+ var ErrorCategory_UNAUTHORIZED_instance;
3535
+ var ErrorCategory_FORBIDDEN_instance;
3536
+ var ErrorCategory_NOT_FOUND_instance;
3537
+ var ErrorCategory_CONFLICT_instance;
3538
+ var ErrorCategory_PRECONDITION_FAILED_instance;
3539
+ var ErrorCategory_RATE_LIMITED_instance;
3540
+ var ErrorCategory_UNAVAILABLE_instance;
3541
+ var ErrorCategory_INTERNAL_instance;
3542
+ var ErrorCategory_PROTOCOL_instance;
3543
+ function values_1() {
3544
+ return [ErrorCategory_VALIDATION_getInstance(), ErrorCategory_UNAUTHORIZED_getInstance(), ErrorCategory_FORBIDDEN_getInstance(), ErrorCategory_NOT_FOUND_getInstance(), ErrorCategory_CONFLICT_getInstance(), ErrorCategory_PRECONDITION_FAILED_getInstance(), ErrorCategory_RATE_LIMITED_getInstance(), ErrorCategory_UNAVAILABLE_getInstance(), ErrorCategory_INTERNAL_getInstance(), ErrorCategory_PROTOCOL_getInstance()];
3545
+ }
3546
+ function valueOf_1(value) {
3547
+ switch (value) {
3548
+ case 'VALIDATION':
3549
+ return ErrorCategory_VALIDATION_getInstance();
3550
+ case 'UNAUTHORIZED':
3551
+ return ErrorCategory_UNAUTHORIZED_getInstance();
3552
+ case 'FORBIDDEN':
3553
+ return ErrorCategory_FORBIDDEN_getInstance();
3554
+ case 'NOT_FOUND':
3555
+ return ErrorCategory_NOT_FOUND_getInstance();
3556
+ case 'CONFLICT':
3557
+ return ErrorCategory_CONFLICT_getInstance();
3558
+ case 'PRECONDITION_FAILED':
3559
+ return ErrorCategory_PRECONDITION_FAILED_getInstance();
3560
+ case 'RATE_LIMITED':
3561
+ return ErrorCategory_RATE_LIMITED_getInstance();
3562
+ case 'UNAVAILABLE':
3563
+ return ErrorCategory_UNAVAILABLE_getInstance();
3564
+ case 'INTERNAL':
3565
+ return ErrorCategory_INTERNAL_getInstance();
3566
+ case 'PROTOCOL':
3567
+ return ErrorCategory_PROTOCOL_getInstance();
3568
+ default:
3569
+ ErrorCategory_initEntries();
3570
+ THROW_IAE('No enum constant com.sphereon.core.api.error.ErrorCategory.' + value);
3571
+ break;
3572
+ }
3573
+ }
3574
+ var Companion_instance_1;
3575
+ function Companion_getInstance_6() {
3576
+ ErrorCategory_initEntries();
3577
+ if (Companion_instance_1 === VOID)
3578
+ new Companion_1();
3579
+ return Companion_instance_1;
3580
+ }
3581
+ var ErrorCategory_entriesInitialized;
3582
+ function ErrorCategory_initEntries() {
3583
+ if (ErrorCategory_entriesInitialized)
3584
+ return Unit_instance;
3585
+ ErrorCategory_entriesInitialized = true;
3586
+ ErrorCategory_VALIDATION_instance = new ErrorCategory('VALIDATION', 0);
3587
+ ErrorCategory_UNAUTHORIZED_instance = new ErrorCategory('UNAUTHORIZED', 1);
3588
+ ErrorCategory_FORBIDDEN_instance = new ErrorCategory('FORBIDDEN', 2);
3589
+ ErrorCategory_NOT_FOUND_instance = new ErrorCategory('NOT_FOUND', 3);
3590
+ ErrorCategory_CONFLICT_instance = new ErrorCategory('CONFLICT', 4);
3591
+ ErrorCategory_PRECONDITION_FAILED_instance = new ErrorCategory('PRECONDITION_FAILED', 5);
3592
+ ErrorCategory_RATE_LIMITED_instance = new ErrorCategory('RATE_LIMITED', 6);
3593
+ ErrorCategory_UNAVAILABLE_instance = new ErrorCategory('UNAVAILABLE', 7);
3594
+ ErrorCategory_INTERNAL_instance = new ErrorCategory('INTERNAL', 8);
3595
+ ErrorCategory_PROTOCOL_instance = new ErrorCategory('PROTOCOL', 9);
3596
+ Companion_getInstance_6();
3597
+ }
3598
+ function ErrorCategory_VALIDATION_getInstance() {
3599
+ ErrorCategory_initEntries();
3600
+ return ErrorCategory_VALIDATION_instance;
3601
+ }
3602
+ function ErrorCategory_UNAUTHORIZED_getInstance() {
3603
+ ErrorCategory_initEntries();
3604
+ return ErrorCategory_UNAUTHORIZED_instance;
3605
+ }
3606
+ function ErrorCategory_FORBIDDEN_getInstance() {
3607
+ ErrorCategory_initEntries();
3608
+ return ErrorCategory_FORBIDDEN_instance;
3609
+ }
3610
+ function ErrorCategory_NOT_FOUND_getInstance() {
3611
+ ErrorCategory_initEntries();
3612
+ return ErrorCategory_NOT_FOUND_instance;
3613
+ }
3614
+ function ErrorCategory_CONFLICT_getInstance() {
3615
+ ErrorCategory_initEntries();
3616
+ return ErrorCategory_CONFLICT_instance;
3617
+ }
3618
+ function ErrorCategory_PRECONDITION_FAILED_getInstance() {
3619
+ ErrorCategory_initEntries();
3620
+ return ErrorCategory_PRECONDITION_FAILED_instance;
3621
+ }
3622
+ function ErrorCategory_RATE_LIMITED_getInstance() {
3623
+ ErrorCategory_initEntries();
3624
+ return ErrorCategory_RATE_LIMITED_instance;
3625
+ }
3626
+ function ErrorCategory_UNAVAILABLE_getInstance() {
3627
+ ErrorCategory_initEntries();
3628
+ return ErrorCategory_UNAVAILABLE_instance;
3629
+ }
3630
+ function ErrorCategory_INTERNAL_getInstance() {
3631
+ ErrorCategory_initEntries();
3632
+ return ErrorCategory_INTERNAL_instance;
3633
+ }
3634
+ function ErrorCategory_PROTOCOL_getInstance() {
3635
+ ErrorCategory_initEntries();
3636
+ return ErrorCategory_PROTOCOL_instance;
3637
+ }
3638
+ function _EventSubsystem___init__impl__pcibv0(value) {
3639
+ return value;
3640
+ }
3641
+ var EventSubsystems_instance;
3642
+ function EventSubsystems_getInstance() {
3643
+ if (EventSubsystems_instance === VOID)
3644
+ new EventSubsystems();
3645
+ return EventSubsystems_instance;
3646
+ }
3647
+ function get_jsonSerializer() {
3648
+ return JsonSupport_getInstance().serializer;
3649
+ }
3650
+ function JsonSupport$_get_serializer_$lambda_829ld7($this$Json) {
3651
+ $this$Json.f1k_1 = JsonSupport_getInstance().module;
3652
+ return Unit_instance;
3653
+ }
3654
+ var JsonSupport_instance;
3655
+ function JsonSupport_getInstance() {
3656
+ if (JsonSupport_instance === VOID)
3657
+ new JsonSupport();
3658
+ return JsonSupport_instance;
3659
+ }
3660
+ var LogOutputFormat_TEXT_instance;
3661
+ var LogOutputFormat_JSON_instance;
3662
+ function values_2() {
3663
+ return [LogOutputFormat_TEXT_getInstance(), LogOutputFormat_JSON_getInstance()];
3664
+ }
3665
+ function valueOf_2(value) {
3666
+ switch (value) {
3667
+ case 'TEXT':
3668
+ return LogOutputFormat_TEXT_getInstance();
3669
+ case 'JSON':
3670
+ return LogOutputFormat_JSON_getInstance();
3671
+ default:
3672
+ LogOutputFormat_initEntries();
3673
+ THROW_IAE('No enum constant com.sphereon.core.api.log.LogOutputFormat.' + value);
3674
+ break;
3675
+ }
3676
+ }
3677
+ var LogOutputFormat_entriesInitialized;
3678
+ function LogOutputFormat_initEntries() {
3679
+ if (LogOutputFormat_entriesInitialized)
3680
+ return Unit_instance;
3681
+ LogOutputFormat_entriesInitialized = true;
3682
+ LogOutputFormat_TEXT_instance = new LogOutputFormat('TEXT', 0);
3683
+ LogOutputFormat_JSON_instance = new LogOutputFormat('JSON', 1);
3684
+ }
3685
+ var LogLevel_TRACE_instance;
3686
+ var LogLevel_DEBUG_instance;
3687
+ var LogLevel_INFO_instance;
3688
+ var LogLevel_WARN_instance;
3689
+ var LogLevel_ERROR_instance;
3690
+ var LogLevel_OFF_instance;
3691
+ function values_3() {
3692
+ return [LogLevel_TRACE_getInstance(), LogLevel_DEBUG_getInstance(), LogLevel_INFO_getInstance(), LogLevel_WARN_getInstance(), LogLevel_ERROR_getInstance(), LogLevel_OFF_getInstance()];
3693
+ }
3694
+ function valueOf_3(value) {
3695
+ switch (value) {
3696
+ case 'TRACE':
3697
+ return LogLevel_TRACE_getInstance();
3698
+ case 'DEBUG':
3699
+ return LogLevel_DEBUG_getInstance();
3700
+ case 'INFO':
3701
+ return LogLevel_INFO_getInstance();
3702
+ case 'WARN':
3703
+ return LogLevel_WARN_getInstance();
3704
+ case 'ERROR':
3705
+ return LogLevel_ERROR_getInstance();
3706
+ case 'OFF':
3707
+ return LogLevel_OFF_getInstance();
3708
+ default:
3709
+ LogLevel_initEntries();
3710
+ THROW_IAE('No enum constant com.sphereon.core.api.log.LogLevel.' + value);
3711
+ break;
3712
+ }
3713
+ }
3714
+ var LogLevel_entriesInitialized;
3715
+ function LogLevel_initEntries() {
3716
+ if (LogLevel_entriesInitialized)
3717
+ return Unit_instance;
3718
+ LogLevel_entriesInitialized = true;
3719
+ LogLevel_TRACE_instance = new LogLevel('TRACE', 0, 0);
3720
+ LogLevel_DEBUG_instance = new LogLevel('DEBUG', 1, 10);
3721
+ LogLevel_INFO_instance = new LogLevel('INFO', 2, 20);
3722
+ LogLevel_WARN_instance = new LogLevel('WARN', 3, 30);
3723
+ LogLevel_ERROR_instance = new LogLevel('ERROR', 4, 40);
3724
+ LogLevel_OFF_instance = new LogLevel('OFF', 5, 100);
3725
+ }
3726
+ var Companion_instance_2;
3727
+ function Companion_getInstance_7() {
3728
+ if (Companion_instance_2 === VOID)
3729
+ new Companion_2();
3730
+ return Companion_instance_2;
3731
+ }
3732
+ function get_Disabled() {
3733
+ return Companion_getInstance_7().h2r_1;
3734
+ }
3735
+ function get_Debug() {
3736
+ return Companion_getInstance_7().i2r_1;
3737
+ }
3738
+ function get_Default() {
3739
+ return Companion_getInstance_7().j2r_1;
3740
+ }
3741
+ function get_JsonWithTimestamp() {
3742
+ return Companion_getInstance_7().k2r_1;
3743
+ }
3744
+ function LogOutputFormat_TEXT_getInstance() {
3745
+ LogOutputFormat_initEntries();
3746
+ return LogOutputFormat_TEXT_instance;
3747
+ }
3748
+ function LogOutputFormat_JSON_getInstance() {
3749
+ LogOutputFormat_initEntries();
3750
+ return LogOutputFormat_JSON_instance;
3751
+ }
3752
+ function LogLevel_TRACE_getInstance() {
3753
+ LogLevel_initEntries();
3754
+ return LogLevel_TRACE_instance;
3755
+ }
3756
+ function LogLevel_DEBUG_getInstance() {
3757
+ LogLevel_initEntries();
3758
+ return LogLevel_DEBUG_instance;
3759
+ }
3760
+ function LogLevel_INFO_getInstance() {
3761
+ LogLevel_initEntries();
3762
+ return LogLevel_INFO_instance;
3763
+ }
3764
+ function LogLevel_WARN_getInstance() {
3765
+ LogLevel_initEntries();
3766
+ return LogLevel_WARN_instance;
3767
+ }
3768
+ function LogLevel_ERROR_getInstance() {
3769
+ LogLevel_initEntries();
3770
+ return LogLevel_ERROR_instance;
3771
+ }
3772
+ function LogLevel_OFF_getInstance() {
3773
+ LogLevel_initEntries();
3774
+ return LogLevel_OFF_instance;
3775
+ }
3776
+ function _get_$cachedSerializer__te6jhj_0($this) {
3777
+ return $this.t2r_1.h4();
3778
+ }
3779
+ function Origin$Companion$_anonymous__a8xfqh() {
3780
+ var tmp = values_4();
3781
+ // Inline function 'kotlin.arrayOf' call
3782
+ // Inline function 'kotlin.js.unsafeCast' call
3783
+ // Inline function 'kotlin.js.asDynamic' call
3784
+ var tmp_0 = ['external', 'managed'];
3785
+ // Inline function 'kotlin.arrayOf' call
3786
+ // Inline function 'kotlin.js.unsafeCast' call
3787
+ // Inline function 'kotlin.js.asDynamic' call
3788
+ var tmp$ret$3 = [null, null];
3789
+ return createAnnotatedEnumSerializer('com.sphereon.core.api.model.Origin', tmp, tmp_0, tmp$ret$3, null);
3790
+ }
3791
+ var Origin_EXTERNAL_instance;
3792
+ var Origin_MANAGED_instance;
3793
+ function values_4() {
3794
+ return [Origin_EXTERNAL_getInstance(), Origin_MANAGED_getInstance()];
3795
+ }
3796
+ var Companion_instance_3;
3797
+ function Companion_getInstance_8() {
3798
+ Origin_initEntries();
3799
+ if (Companion_instance_3 === VOID)
3800
+ new Companion_3();
3801
+ return Companion_instance_3;
3802
+ }
3803
+ var Origin_entriesInitialized;
3804
+ function Origin_initEntries() {
3805
+ if (Origin_entriesInitialized)
3806
+ return Unit_instance;
3807
+ Origin_entriesInitialized = true;
3808
+ Origin_EXTERNAL_instance = new Origin('EXTERNAL', 0);
3809
+ Origin_MANAGED_instance = new Origin('MANAGED', 1);
3810
+ Companion_getInstance_8();
3811
+ }
3812
+ function Origin_EXTERNAL_getInstance() {
3813
+ Origin_initEntries();
3814
+ return Origin_EXTERNAL_instance;
3815
+ }
3816
+ function Origin_MANAGED_getInstance() {
3817
+ Origin_initEntries();
3818
+ return Origin_MANAGED_instance;
3819
+ }
3820
+ var ActionType_CREATE_instance;
3821
+ var ActionType_READ_instance;
3822
+ var ActionType_UPDATE_instance;
3823
+ var ActionType_DELETE_instance;
3824
+ var ActionType_LIST_instance;
3825
+ var ActionType_EXECUTE_instance;
3826
+ var ActionType_entriesInitialized;
3827
+ function ActionType_initEntries() {
3828
+ if (ActionType_entriesInitialized)
3829
+ return Unit_instance;
3830
+ ActionType_entriesInitialized = true;
3831
+ ActionType_CREATE_instance = new ActionType('CREATE', 0);
3832
+ ActionType_READ_instance = new ActionType('READ', 1);
3833
+ ActionType_UPDATE_instance = new ActionType('UPDATE', 2);
3834
+ ActionType_DELETE_instance = new ActionType('DELETE', 3);
3835
+ ActionType_LIST_instance = new ActionType('LIST', 4);
3836
+ ActionType_EXECUTE_instance = new ActionType('EXECUTE', 5);
3837
+ }
3838
+ function ActionType_EXECUTE_getInstance() {
3839
+ ActionType_initEntries();
3840
+ return ActionType_EXECUTE_instance;
3841
+ }
3842
+ var CommandExecutionPhase_BEFORE_instance;
3843
+ var CommandExecutionPhase_DURING_instance;
3844
+ var CommandExecutionPhase_AFTER_instance;
3845
+ function values_5() {
3846
+ return [CommandExecutionPhase_BEFORE_getInstance(), CommandExecutionPhase_DURING_getInstance(), CommandExecutionPhase_AFTER_getInstance()];
3847
+ }
3848
+ function valueOf_4(value) {
3849
+ switch (value) {
3850
+ case 'BEFORE':
3851
+ return CommandExecutionPhase_BEFORE_getInstance();
3852
+ case 'DURING':
3853
+ return CommandExecutionPhase_DURING_getInstance();
3854
+ case 'AFTER':
3855
+ return CommandExecutionPhase_AFTER_getInstance();
3856
+ default:
3857
+ CommandExecutionPhase_initEntries();
3858
+ THROW_IAE('No enum constant com.sphereon.core.api.session.CommandExecutionPhase.' + value);
3859
+ break;
3860
+ }
3861
+ }
3862
+ var CommandExecutionPhase_entriesInitialized;
3863
+ function CommandExecutionPhase_initEntries() {
3864
+ if (CommandExecutionPhase_entriesInitialized)
3865
+ return Unit_instance;
3866
+ CommandExecutionPhase_entriesInitialized = true;
3867
+ CommandExecutionPhase_BEFORE_instance = new CommandExecutionPhase('BEFORE', 0);
3868
+ CommandExecutionPhase_DURING_instance = new CommandExecutionPhase('DURING', 1);
3869
+ CommandExecutionPhase_AFTER_instance = new CommandExecutionPhase('AFTER', 2);
3870
+ }
3871
+ function CommandExecutionPhase_BEFORE_getInstance() {
3872
+ CommandExecutionPhase_initEntries();
3873
+ return CommandExecutionPhase_BEFORE_instance;
3874
+ }
3875
+ function CommandExecutionPhase_DURING_getInstance() {
3876
+ CommandExecutionPhase_initEntries();
3877
+ return CommandExecutionPhase_DURING_instance;
3878
+ }
3879
+ function CommandExecutionPhase_AFTER_getInstance() {
3880
+ CommandExecutionPhase_initEntries();
3881
+ return CommandExecutionPhase_AFTER_instance;
3882
+ }
3883
+ var IdkErrorCommandErrorMapper_instance;
3884
+ function IdkErrorCommandErrorMapper_getInstance() {
3885
+ return IdkErrorCommandErrorMapper_instance;
3886
+ }
3887
+ var CommandErrors_instance;
3888
+ function CommandErrors_getInstance() {
3889
+ return CommandErrors_instance;
3890
+ }
3891
+ function *supportsOrError(_this__u8e3s4, args, errorMapper, $completion) {
3892
+ var tmp;
3893
+ if (yield* _this__u8e3s4.e2s(args, $completion)) {
3894
+ tmp = new Ok_0(Unit_instance);
3895
+ } else {
3896
+ tmp = new Err_0(errorMapper.v2s(_this__u8e3s4, args));
3897
+ }
3898
+ return tmp;
3899
+ }
3900
+ function kmpListOf(elements) {
3901
+ return toList(elements);
3902
+ }
3903
+ function kmpSetOf(elements) {
3904
+ return toSet(elements);
3905
+ }
3906
+ function kmpMapOf() {
3907
+ // Inline function 'kotlin.collections.mutableMapOf' call
3908
+ return LinkedHashMap.v5();
3909
+ }
3910
+ function mergeJsonElement(_this__u8e3s4, key, value) {
3911
+ var result = toMutableMap(_this__u8e3s4);
3912
+ result.r4(mapOf(new Pair(key, value)));
3913
+ return new JsonObject(result);
3914
+ }
3915
+ var Companion_instance_4;
3916
+ function Companion_getInstance_9() {
3917
+ return Companion_instance_4;
3918
+ }
3919
+ function now() {
3920
+ return Companion_instance_4.kp();
3921
+ }
3922
+ function nowWithTimezone(utils, timeZoneId) {
3923
+ utils = utils === VOID ? Companion_getInstance_10().a2t_1 : utils;
3924
+ timeZoneId = timeZoneId === VOID ? null : timeZoneId;
3925
+ return Companion_instance_4.y2s(utils, timeZoneId);
3926
+ }
3927
+ function fromString_0(value) {
3928
+ return Companion_instance_4.b2t(value);
3929
+ }
3930
+ var LocalDateTimeIso8601SerializerKMP_instance;
3931
+ function LocalDateTimeIso8601SerializerKMP_getInstance() {
3932
+ if (LocalDateTimeIso8601SerializerKMP_instance === VOID)
3933
+ new LocalDateTimeIso8601SerializerKMP();
3934
+ return LocalDateTimeIso8601SerializerKMP_instance;
3935
+ }
3936
+ var Companion_instance_5;
3937
+ function Companion_getInstance_10() {
3938
+ if (Companion_instance_5 === VOID)
3939
+ new Companion_5();
3940
+ return Companion_instance_5;
3941
+ }
3942
+ function now_0($this) {
3943
+ return $this.clock.kp();
3944
+ }
3945
+ function get_DEFAULTS() {
3946
+ return Companion_getInstance_10().a2t_1;
3947
+ }
3948
+ function DateTimeUtils$defaultTimeZone$lambda(this$0) {
3949
+ return () => Companion_getInstance_3().j2c(this$0.timeZoneId);
3950
+ }
3951
+ var DateTimeUtilsDefault_instance;
3952
+ function DateTimeUtilsDefault_getInstance() {
3953
+ if (DateTimeUtilsDefault_instance === VOID)
3954
+ new DateTimeUtilsDefault();
3955
+ return DateTimeUtilsDefault_instance;
3956
+ }
3957
+ function toKotlin(_this__u8e3s4) {
3958
+ return Companion_getInstance_2().a2c(_this__u8e3s4.toString());
3959
+ }
3960
+ function toKMP(_this__u8e3s4) {
3961
+ return Companion_instance_4.b2t(_this__u8e3s4.toString());
3962
+ }
3963
+ var Uuid_instance;
3964
+ function Uuid_getInstance() {
3965
+ return Uuid_instance;
3966
+ }
3967
+ var Order_HIGHEST_instance;
3968
+ var Order_HIGH_instance;
3969
+ var Order_MEDIUM_instance;
3970
+ var Order_LOW_instance;
3971
+ var Order_LOWEST_instance;
3972
+ var Order_entriesInitialized;
3973
+ function Order_initEntries() {
3974
+ if (Order_entriesInitialized)
3975
+ return Unit_instance;
3976
+ Order_entriesInitialized = true;
3977
+ Order_HIGHEST_instance = new Order('HIGHEST', 0, 10);
3978
+ Order_HIGH_instance = new Order('HIGH', 1, 30);
3979
+ Order_MEDIUM_instance = new Order('MEDIUM', 2, 50);
3980
+ Order_LOW_instance = new Order('LOW', 3, 70);
3981
+ Order_LOWEST_instance = new Order('LOWEST', 4, 90);
3982
+ }
3983
+ function Order_MEDIUM_getInstance() {
3984
+ Order_initEntries();
3985
+ return Order_MEDIUM_instance;
3986
+ }
3987
+ var Companion_instance_6;
3988
+ function Companion_getInstance_11() {
3989
+ return Companion_instance_6;
3990
+ }
3991
+ var HttpClientEngineType_CIO_instance;
3992
+ var HttpClientEngineType_OKHTTP_instance;
3993
+ var HttpClientEngineType_DARWIN_instance;
3994
+ var HttpClientEngineType_JS_instance;
3995
+ var HttpClientEngineType_entriesInitialized;
3996
+ function HttpClientEngineType_initEntries() {
3997
+ if (HttpClientEngineType_entriesInitialized)
3998
+ return Unit_instance;
3999
+ HttpClientEngineType_entriesInitialized = true;
4000
+ HttpClientEngineType_CIO_instance = new HttpClientEngineType('CIO', 0);
4001
+ HttpClientEngineType_OKHTTP_instance = new HttpClientEngineType('OKHTTP', 1);
4002
+ HttpClientEngineType_DARWIN_instance = new HttpClientEngineType('DARWIN', 2);
4003
+ HttpClientEngineType_JS_instance = new HttpClientEngineType('JS', 3);
4004
+ }
4005
+ function HttpClientEngineType_CIO_getInstance() {
4006
+ HttpClientEngineType_initEntries();
4007
+ return HttpClientEngineType_CIO_instance;
4008
+ }
4009
+ function HttpClientOptions$Companion$createDefault$lambda($this$HttpClientOptions) {
4010
+ json($this$HttpClientOptions, Json(VOID, HttpClientOptions$Companion$createDefault$lambda$lambda));
4011
+ return Unit_instance;
4012
+ }
4013
+ function HttpClientOptions$Companion$createDefault$lambda$lambda($this$Json) {
4014
+ $this$Json.o1j_1 = true;
4015
+ $this$Json.q1j_1 = true;
4016
+ $this$Json.s1j_1 = false;
4017
+ return Unit_instance;
4018
+ }
4019
+ var Companion_instance_7;
4020
+ function Companion_getInstance_12() {
4021
+ return Companion_instance_7;
4022
+ }
4023
+ function HttpClientOptions$_init_$lambda_ojfg0w(_this__u8e3s4) {
4024
+ json(_this__u8e3s4, Json(VOID, HttpClientOptions$_init_$lambda$lambda_faor1x));
4025
+ return Unit_instance;
4026
+ }
4027
+ function HttpClientOptions$_init_$lambda$lambda_faor1x($this$Json) {
4028
+ $this$Json.o1j_1 = true;
4029
+ $this$Json.q1j_1 = true;
4030
+ $this$Json.s1j_1 = false;
4031
+ return Unit_instance;
4032
+ }
4033
+ var CancelReason_USER_instance;
4034
+ var CancelReason_SUPERSEDED_instance;
4035
+ var CancelReason_BACKGROUND_instance;
4036
+ var CancelReason_SYSTEM_instance;
4037
+ function values_6() {
4038
+ return [CancelReason_USER_getInstance(), CancelReason_SUPERSEDED_getInstance(), CancelReason_BACKGROUND_getInstance(), CancelReason_SYSTEM_getInstance()];
4039
+ }
4040
+ function valueOf_5(value) {
4041
+ switch (value) {
4042
+ case 'USER':
4043
+ return CancelReason_USER_getInstance();
4044
+ case 'SUPERSEDED':
4045
+ return CancelReason_SUPERSEDED_getInstance();
4046
+ case 'BACKGROUND':
4047
+ return CancelReason_BACKGROUND_getInstance();
4048
+ case 'SYSTEM':
4049
+ return CancelReason_SYSTEM_getInstance();
4050
+ default:
4051
+ CancelReason_initEntries();
4052
+ THROW_IAE('No enum constant com.sphereon.ui.prompt.core.CancelReason.' + value);
4053
+ break;
4054
+ }
4055
+ }
4056
+ var CancelReason_entriesInitialized;
4057
+ function CancelReason_initEntries() {
4058
+ if (CancelReason_entriesInitialized)
4059
+ return Unit_instance;
4060
+ CancelReason_entriesInitialized = true;
4061
+ CancelReason_USER_instance = new CancelReason('USER', 0);
4062
+ CancelReason_SUPERSEDED_instance = new CancelReason('SUPERSEDED', 1);
4063
+ CancelReason_BACKGROUND_instance = new CancelReason('BACKGROUND', 2);
4064
+ CancelReason_SYSTEM_instance = new CancelReason('SYSTEM', 3);
4065
+ }
4066
+ function CancelReason_USER_getInstance() {
4067
+ CancelReason_initEntries();
4068
+ return CancelReason_USER_instance;
4069
+ }
4070
+ function CancelReason_SUPERSEDED_getInstance() {
4071
+ CancelReason_initEntries();
4072
+ return CancelReason_SUPERSEDED_instance;
4073
+ }
4074
+ function CancelReason_BACKGROUND_getInstance() {
4075
+ CancelReason_initEntries();
4076
+ return CancelReason_BACKGROUND_instance;
4077
+ }
4078
+ function CancelReason_SYSTEM_getInstance() {
4079
+ CancelReason_initEntries();
4080
+ return CancelReason_SYSTEM_instance;
4081
+ }
4082
+ function _PromptId___init__impl__e4e3ku(value) {
4083
+ return value;
4084
+ }
4085
+ function _PromptId___get_value__impl__bnvqju($this) {
4086
+ return $this;
4087
+ }
4088
+ function PromptId__toString_impl_44yzz2($this) {
4089
+ return _PromptId___get_value__impl__bnvqju($this);
4090
+ }
4091
+ var Companion_instance_8;
4092
+ function Companion_getInstance_13() {
4093
+ return Companion_instance_8;
4094
+ }
4095
+ function PromptId__hashCode_impl_pw4wrx($this) {
4096
+ return getStringHashCode($this);
4097
+ }
4098
+ function PromptId__equals_impl_x3ochb($this, other) {
4099
+ if (!(other instanceof PromptId))
4100
+ return false;
4101
+ if (!($this === other.h2v_1))
4102
+ return false;
4103
+ return true;
4104
+ }
4105
+ var Companion_instance_9;
4106
+ function Companion_getInstance_14() {
4107
+ if (Companion_instance_9 === VOID)
4108
+ new Companion_9();
4109
+ return Companion_instance_9;
4110
+ }
4111
+ function PromptPriority$Companion$sortedByPriority$lambda(a, b) {
4112
+ // Inline function 'kotlin.comparisons.compareValuesBy' call
4113
+ var tmp = a.order;
4114
+ var tmp$ret$2 = b.order;
4115
+ return compareValues(tmp, tmp$ret$2);
4116
+ }
4117
+ var PromptPriority_CRITICAL_instance;
4118
+ var PromptPriority_HIGH_instance;
4119
+ var PromptPriority_NORMAL_instance;
4120
+ var PromptPriority_LOW_instance;
4121
+ var PromptPriority_BACKGROUND_instance;
4122
+ var Companion_instance_10;
4123
+ function Companion_getInstance_15() {
4124
+ return Companion_instance_10;
4125
+ }
4126
+ function values_7() {
4127
+ return [PromptPriority_CRITICAL_getInstance(), PromptPriority_HIGH_getInstance(), PromptPriority_NORMAL_getInstance(), PromptPriority_LOW_getInstance(), PromptPriority_BACKGROUND_getInstance()];
4128
+ }
4129
+ function valueOf_6(value) {
4130
+ switch (value) {
4131
+ case 'CRITICAL':
4132
+ return PromptPriority_CRITICAL_getInstance();
4133
+ case 'HIGH':
4134
+ return PromptPriority_HIGH_getInstance();
4135
+ case 'NORMAL':
4136
+ return PromptPriority_NORMAL_getInstance();
4137
+ case 'LOW':
4138
+ return PromptPriority_LOW_getInstance();
4139
+ case 'BACKGROUND':
4140
+ return PromptPriority_BACKGROUND_getInstance();
4141
+ default:
4142
+ PromptPriority_initEntries();
4143
+ THROW_IAE('No enum constant com.sphereon.ui.prompt.core.PromptPriority.' + value);
4144
+ break;
4145
+ }
4146
+ }
4147
+ function get_entries() {
4148
+ if ($ENTRIES == null)
4149
+ $ENTRIES = enumEntries(values_7());
4150
+ return $ENTRIES;
4151
+ }
4152
+ var PromptPriority_entriesInitialized;
4153
+ function PromptPriority_initEntries() {
4154
+ if (PromptPriority_entriesInitialized)
4155
+ return Unit_instance;
4156
+ PromptPriority_entriesInitialized = true;
4157
+ PromptPriority_CRITICAL_instance = new PromptPriority('CRITICAL', 0, 0);
4158
+ PromptPriority_HIGH_instance = new PromptPriority('HIGH', 1, 100);
4159
+ PromptPriority_NORMAL_instance = new PromptPriority('NORMAL', 2, 200);
4160
+ PromptPriority_LOW_instance = new PromptPriority('LOW', 3, 300);
4161
+ PromptPriority_BACKGROUND_instance = new PromptPriority('BACKGROUND', 4, 400);
4162
+ }
4163
+ var $ENTRIES;
4164
+ function PromptPriority_CRITICAL_getInstance() {
4165
+ PromptPriority_initEntries();
4166
+ return PromptPriority_CRITICAL_instance;
4167
+ }
4168
+ function PromptPriority_HIGH_getInstance() {
4169
+ PromptPriority_initEntries();
4170
+ return PromptPriority_HIGH_instance;
4171
+ }
4172
+ function PromptPriority_NORMAL_getInstance() {
4173
+ PromptPriority_initEntries();
4174
+ return PromptPriority_NORMAL_instance;
4175
+ }
4176
+ function PromptPriority_LOW_getInstance() {
4177
+ PromptPriority_initEntries();
4178
+ return PromptPriority_LOW_instance;
4179
+ }
4180
+ function PromptPriority_BACKGROUND_getInstance() {
4181
+ PromptPriority_initEntries();
4182
+ return PromptPriority_BACKGROUND_instance;
4183
+ }
4184
+ var PromptState_PENDING_instance;
4185
+ var PromptState_ACTIVE_instance;
4186
+ var PromptState_SUCCESS_instance;
4187
+ var PromptState_CANCELLED_instance;
4188
+ var PromptState_TIMED_OUT_instance;
4189
+ var PromptState_ERROR_instance;
4190
+ function values_8() {
4191
+ return [PromptState_PENDING_getInstance(), PromptState_ACTIVE_getInstance(), PromptState_SUCCESS_getInstance(), PromptState_CANCELLED_getInstance(), PromptState_TIMED_OUT_getInstance(), PromptState_ERROR_getInstance()];
4192
+ }
4193
+ function valueOf_7(value) {
4194
+ switch (value) {
4195
+ case 'PENDING':
4196
+ return PromptState_PENDING_getInstance();
4197
+ case 'ACTIVE':
4198
+ return PromptState_ACTIVE_getInstance();
4199
+ case 'SUCCESS':
4200
+ return PromptState_SUCCESS_getInstance();
4201
+ case 'CANCELLED':
4202
+ return PromptState_CANCELLED_getInstance();
4203
+ case 'TIMED_OUT':
4204
+ return PromptState_TIMED_OUT_getInstance();
4205
+ case 'ERROR':
4206
+ return PromptState_ERROR_getInstance();
4207
+ default:
4208
+ PromptState_initEntries();
4209
+ THROW_IAE('No enum constant com.sphereon.ui.prompt.core.PromptState.' + value);
4210
+ break;
4211
+ }
4212
+ }
4213
+ var PromptState_entriesInitialized;
4214
+ function PromptState_initEntries() {
4215
+ if (PromptState_entriesInitialized)
4216
+ return Unit_instance;
4217
+ PromptState_entriesInitialized = true;
4218
+ PromptState_PENDING_instance = new PromptState('PENDING', 0);
4219
+ PromptState_ACTIVE_instance = new PromptState('ACTIVE', 1);
4220
+ PromptState_SUCCESS_instance = new PromptState('SUCCESS', 2);
4221
+ PromptState_CANCELLED_instance = new PromptState('CANCELLED', 3);
4222
+ PromptState_TIMED_OUT_instance = new PromptState('TIMED_OUT', 4);
4223
+ PromptState_ERROR_instance = new PromptState('ERROR', 5);
4224
+ }
4225
+ function PromptState_PENDING_getInstance() {
4226
+ PromptState_initEntries();
4227
+ return PromptState_PENDING_instance;
4228
+ }
4229
+ function PromptState_ACTIVE_getInstance() {
4230
+ PromptState_initEntries();
4231
+ return PromptState_ACTIVE_instance;
4232
+ }
4233
+ function PromptState_SUCCESS_getInstance() {
4234
+ PromptState_initEntries();
4235
+ return PromptState_SUCCESS_instance;
4236
+ }
4237
+ function PromptState_CANCELLED_getInstance() {
4238
+ PromptState_initEntries();
4239
+ return PromptState_CANCELLED_instance;
4240
+ }
4241
+ function PromptState_TIMED_OUT_getInstance() {
4242
+ PromptState_initEntries();
4243
+ return PromptState_TIMED_OUT_instance;
4244
+ }
4245
+ function PromptState_ERROR_getInstance() {
4246
+ PromptState_initEntries();
4247
+ return PromptState_ERROR_instance;
4248
+ }
4249
+ var ForegroundState_FOREGROUND_instance;
4250
+ var ForegroundState_BACKGROUND_instance;
4251
+ var ForegroundState_UNKNOWN_instance;
4252
+ function values_9() {
4253
+ return [ForegroundState_FOREGROUND_getInstance(), ForegroundState_BACKGROUND_getInstance(), ForegroundState_UNKNOWN_getInstance()];
4254
+ }
4255
+ function valueOf_8(value) {
4256
+ switch (value) {
4257
+ case 'FOREGROUND':
4258
+ return ForegroundState_FOREGROUND_getInstance();
4259
+ case 'BACKGROUND':
4260
+ return ForegroundState_BACKGROUND_getInstance();
4261
+ case 'UNKNOWN':
4262
+ return ForegroundState_UNKNOWN_getInstance();
4263
+ default:
4264
+ ForegroundState_initEntries();
4265
+ THROW_IAE('No enum constant com.sphereon.ui.prompt.presenter.ForegroundState.' + value);
4266
+ break;
4267
+ }
4268
+ }
4269
+ var ForegroundState_entriesInitialized;
4270
+ function ForegroundState_initEntries() {
4271
+ if (ForegroundState_entriesInitialized)
4272
+ return Unit_instance;
4273
+ ForegroundState_entriesInitialized = true;
4274
+ ForegroundState_FOREGROUND_instance = new ForegroundState('FOREGROUND', 0);
4275
+ ForegroundState_BACKGROUND_instance = new ForegroundState('BACKGROUND', 1);
4276
+ ForegroundState_UNKNOWN_instance = new ForegroundState('UNKNOWN', 2);
4277
+ }
4278
+ function ForegroundState_FOREGROUND_getInstance() {
4279
+ ForegroundState_initEntries();
4280
+ return ForegroundState_FOREGROUND_instance;
4281
+ }
4282
+ function ForegroundState_BACKGROUND_getInstance() {
4283
+ ForegroundState_initEntries();
4284
+ return ForegroundState_BACKGROUND_instance;
4285
+ }
4286
+ function ForegroundState_UNKNOWN_getInstance() {
4287
+ ForegroundState_initEntries();
4288
+ return ForegroundState_UNKNOWN_instance;
4289
+ }
4290
+ function appendUInt8(_this__u8e3s4, value, validRange) {
4291
+ var tmp;
4292
+ if (validRange === VOID) {
4293
+ var tmp0 = _UByte___init__impl__g9hnc4(0);
4294
+ // Inline function 'kotlin.UByte.rangeTo' call
4295
+ var other = _UByte___init__impl__g9hnc4(-1);
4296
+ // Inline function 'kotlin.UByte.toUInt' call
4297
+ var tmp_0 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(tmp0) & 255);
4298
+ // Inline function 'kotlin.UByte.toUInt' call
4299
+ var tmp$ret$2 = _UInt___init__impl__l7qpdl(_UByte___get_data__impl__jof9qr(other) & 255);
4300
+ tmp = new UIntRange(tmp_0, tmp$ret$2);
4301
+ } else {
4302
+ tmp = validRange;
4303
+ }
4304
+ validRange = tmp;
4305
+ requireInRange(value, validRange);
4306
+ // Inline function 'kotlin.UByte.toByte' call
4307
+ var tmp$ret$3 = _UByte___get_data__impl__jof9qr(value);
4308
+ _this__u8e3s4.z2k(tmp$ret$3);
4309
+ return _this__u8e3s4;
4310
+ }
4311
+ function appendUInt16(_this__u8e3s4, value, validRange) {
4312
+ var tmp;
4313
+ if (validRange === VOID) {
4314
+ var tmp0 = _UShort___init__impl__jigrne(0);
4315
+ // Inline function 'kotlin.UShort.rangeTo' call
4316
+ var other = _UShort___init__impl__jigrne(-1);
4317
+ // Inline function 'kotlin.UShort.toUInt' call
4318
+ var tmp_0 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(tmp0) & 65535);
4319
+ // Inline function 'kotlin.UShort.toUInt' call
4320
+ var tmp$ret$2 = _UInt___init__impl__l7qpdl(_UShort___get_data__impl__g0245(other) & 65535);
4321
+ tmp = new UIntRange(tmp_0, tmp$ret$2);
4322
+ } else {
4323
+ tmp = validRange;
4324
+ }
4325
+ validRange = tmp;
4326
+ requireInRange_0(value, validRange);
4327
+ // Inline function 'kotlin.UInt.toInt' call
4328
+ var tmp$ret$3 = _UInt___get_data__impl__f0vqqw(value);
4329
+ appendInt16BEBytes(_this__u8e3s4, tmp$ret$3);
4330
+ return _this__u8e3s4;
4331
+ }
4332
+ function appendUInt32(_this__u8e3s4, value, validRange) {
4333
+ var tmp;
4334
+ if (validRange === VOID) {
4335
+ var tmp0 = _UInt___init__impl__l7qpdl(0);
4336
+ // Inline function 'kotlin.UInt.rangeTo' call
4337
+ var other = _UInt___init__impl__l7qpdl(-1);
4338
+ tmp = new UIntRange(tmp0, other);
4339
+ } else {
4340
+ tmp = validRange;
4341
+ }
4342
+ validRange = tmp;
4343
+ requireInRange_0(value, validRange);
4344
+ // Inline function 'kotlin.UInt.toInt' call
4345
+ var tmp$ret$1 = _UInt___get_data__impl__f0vqqw(value);
4346
+ appendInt32BEBytes(_this__u8e3s4, tmp$ret$1);
4347
+ return _this__u8e3s4;
4348
+ }
4349
+ function appendUInt64(_this__u8e3s4, value, validRange) {
4350
+ var tmp;
4351
+ if (validRange === VOID) {
4352
+ var tmp0 = _ULong___init__impl__c78o9k(0n);
4353
+ // Inline function 'kotlin.ULong.rangeTo' call
4354
+ var other = _ULong___init__impl__c78o9k(-1n);
4355
+ tmp = new ULongRange(tmp0, other);
4356
+ } else {
4357
+ tmp = validRange;
4358
+ }
4359
+ validRange = tmp;
4360
+ requireInRange_1(value, validRange);
4361
+ // Inline function 'kotlin.ULong.toLong' call
4362
+ var tmp$ret$1 = _ULong___get_data__impl__fggpzb(value);
4363
+ appendInt64BEBytes(_this__u8e3s4, tmp$ret$1);
4364
+ return _this__u8e3s4;
4365
+ }
4366
+ function requireInRange(_this__u8e3s4, validRange) {
4367
+ var containsLower = validRange.ct_1;
4368
+ var containsUpper = validRange.dt_1;
4369
+ var containsArg = UByte__toUInt_impl_qgytr9(_this__u8e3s4);
4370
+ // Inline function 'kotlin.require' call
4371
+ if (!(0 <= UInt__compareTo_impl_yacclj(containsArg, containsLower) ? UInt__compareTo_impl_yacclj(containsArg, containsUpper) <= 0 : false)) {
4372
+ var message = 'UInt ' + errRange(new UByte(_this__u8e3s4), new UInt(validRange.ct_1), new UInt(validRange.dt_1));
4373
+ throw IllegalArgumentException.y1(toString_0(message));
4374
+ }
4375
+ }
4376
+ function requireInRange_0(_this__u8e3s4, validRange) {
4377
+ var containsLower = validRange.ct_1;
4378
+ // Inline function 'kotlin.require' call
4379
+ if (!(UInt__compareTo_impl_yacclj(_this__u8e3s4, validRange.dt_1) <= 0 ? 0 <= UInt__compareTo_impl_yacclj(_this__u8e3s4, containsLower) : false)) {
4380
+ var message = 'UInt ' + errRange(new UInt(_this__u8e3s4), new UInt(validRange.ct_1), new UInt(validRange.dt_1));
4381
+ throw IllegalArgumentException.y1(toString_0(message));
4382
+ }
4383
+ }
4384
+ function appendInt16BEBytes(_this__u8e3s4, value) {
4385
+ _this__u8e3s4.z2k(toByte(value >> 8));
4386
+ _this__u8e3s4.z2k(toByte(value));
4387
+ }
4388
+ function appendInt32BEBytes(_this__u8e3s4, value) {
4389
+ _this__u8e3s4.z2k(toByte(value >> 24));
4390
+ _this__u8e3s4.z2k(toByte(value >> 16));
4391
+ _this__u8e3s4.z2k(toByte(value >> 8));
4392
+ _this__u8e3s4.z2k(toByte(value));
4393
+ }
4394
+ function requireInRange_1(_this__u8e3s4, validRange) {
4395
+ var containsLower = validRange.bu_1;
4396
+ // Inline function 'kotlin.require' call
4397
+ if (!(ULong__compareTo_impl_38i7tu(_this__u8e3s4, validRange.cu_1) <= 0 ? 0 <= ULong__compareTo_impl_38i7tu(_this__u8e3s4, containsLower) : false)) {
4398
+ var message = 'ULong ' + errRange(new ULong(_this__u8e3s4), new ULong(validRange.bu_1), new ULong(validRange.cu_1));
4399
+ throw IllegalArgumentException.y1(toString_0(message));
4400
+ }
4401
+ }
4402
+ function appendInt64BEBytes(_this__u8e3s4, value) {
4403
+ _this__u8e3s4.z2k(convertToByte(shiftRight(value, 56)));
4404
+ _this__u8e3s4.z2k(convertToByte(shiftRight(value, 48)));
4405
+ _this__u8e3s4.z2k(convertToByte(shiftRight(value, 40)));
4406
+ _this__u8e3s4.z2k(convertToByte(shiftRight(value, 32)));
4407
+ _this__u8e3s4.z2k(convertToByte(shiftRight(value, 24)));
4408
+ _this__u8e3s4.z2k(convertToByte(shiftRight(value, 16)));
4409
+ _this__u8e3s4.z2k(convertToByte(shiftRight(value, 8)));
4410
+ _this__u8e3s4.z2k(convertToByte(value));
4411
+ }
4412
+ function errRange(v, min, max) {
4413
+ return ' value ' + toString_0(v) + ' is out of valid range: ' + toString_0(min) + '..' + toString_0(max) + '.';
4414
+ }
4415
+ function stringify(value) {
4416
+ var tmp;
4417
+ if (value == null) {
4418
+ tmp = 'null';
4419
+ } else {
4420
+ if (isInterface(value, KtMap)) {
4421
+ tmp = stringifyMap(value);
4422
+ } else {
4423
+ if (isBooleanArray(value)) {
4424
+ tmp = joinToString_7(value, VOID, 'booleanArrayOf(', ')');
4425
+ } else {
4426
+ if (isByteArray(value)) {
4427
+ tmp = 'byteArrayOf(' + toHexString_0(value) + ')';
4428
+ } else {
4429
+ if (isShortArray(value)) {
4430
+ tmp = joinToString_6(value, VOID, 'shortArrayOf(', ')');
4431
+ } else {
4432
+ if (isIntArray(value)) {
4433
+ tmp = joinToString_5(value, VOID, 'intArrayOf(', ')');
4434
+ } else {
4435
+ if (isLongArray(value)) {
4436
+ tmp = joinToString_4(value, VOID, 'longArrayOf(', ')');
4437
+ } else {
4438
+ if (isFloatArray(value)) {
4439
+ tmp = joinToString_3(value, VOID, 'floatArrayOf(', ')');
4440
+ } else {
4441
+ if (isDoubleArray(value)) {
4442
+ tmp = joinToString_2(value, VOID, 'doubleArrayOf(', ')');
4443
+ } else {
4444
+ if (isCharArray(value)) {
4445
+ tmp = joinToString_1(value, VOID, 'charArrayOf(', ')');
4446
+ } else {
4447
+ if (isArray(value)) {
4448
+ tmp = joinToString_0(value, VOID, '[', ']', VOID, VOID, stringify$lambda);
4449
+ } else {
4450
+ if (isInterface(value, Iterable)) {
4451
+ tmp = joinToString(value, VOID, '[', ']', VOID, VOID, stringify$lambda_0);
4452
+ } else {
4453
+ tmp = toString_0(value);
4454
+ }
4455
+ }
4456
+ }
4457
+ }
4458
+ }
4459
+ }
4460
+ }
4461
+ }
4462
+ }
4463
+ }
4464
+ }
4465
+ }
4466
+ return tmp;
4467
+ }
4468
+ function stringifyMap(map) {
4469
+ var tmp = map.x2();
4470
+ return joinToString(tmp, VOID, '{', '}', VOID, VOID, stringifyMap$lambda);
4471
+ }
4472
+ function toHexString_0(byteArray) {
4473
+ return encodeToHex(byteArray);
4474
+ }
4475
+ function stringify$lambda(it) {
4476
+ return stringify(it);
4477
+ }
4478
+ function stringify$lambda_0(it) {
4479
+ return stringify(it);
4480
+ }
4481
+ function stringifyMap$lambda(_destruct__k2r9zo) {
4482
+ // Inline function 'kotlin.collections.component1' call
4483
+ var k = _destruct__k2r9zo.g4();
4484
+ // Inline function 'kotlin.collections.component2' call
4485
+ var v = _destruct__k2r9zo.h4();
4486
+ return stringify(k) + '=' + stringify(v);
4487
+ }
4488
+ function currentTimeMillis() {
4489
+ return numberToLong(Date.now());
4490
+ }
4491
+ //region block: post-declaration
4492
+ initMetadataForClass(Encoding, 'Encoding');
4493
+ initMetadataForObject(Base64UrlSerializer, 'Base64UrlSerializer', VOID, VOID, [KSerializer]);
4494
+ initMetadataForObject(Base64Serializer, 'Base64Serializer', VOID, VOID, [KSerializer]);
4495
+ initMetadataForCompanion(Companion);
4496
+ initMetadataForClass(IdkResult, 'IdkResult');
4497
+ initMetadataForClass(Ok_0, 'Ok');
4498
+ initMetadataForClass(Err_0, 'Err');
4499
+ initMetadataForInterface(IdkErrorType, 'IdkErrorType');
4500
+ initMetadataForClass(Severity, 'Severity');
4501
+ initMetadataForClass(Message, 'Message');
4502
+ initMetadataForCompanion(Companion_0);
4503
+ initMetadataForClass(IdkError, 'IdkError', VOID, VOID, [IdkErrorType]);
4504
+ initMetadataForInterface(ErrorDefinitionType, 'ErrorDefinitionType');
4505
+ initMetadataForCompanion(Companion_1, VOID, [SerializerFactory]);
4506
+ initMetadataForClass(ErrorCategory, 'ErrorCategory', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_6});
4507
+ initMetadataForClass(NotFoundException, 'NotFoundException');
4508
+ initMetadataForObject(EventSubsystems, 'EventSubsystems');
4509
+ initMetadataForObject(JsonSupport, 'JsonSupport');
4510
+ initMetadataForClass(LogOutputFormat, 'LogOutputFormat');
4511
+ initMetadataForClass(LogMessage, 'LogMessage');
4512
+ initMetadataForClass(LogLevel, 'LogLevel');
4513
+ initMetadataForCompanion(Companion_2);
4514
+ initMetadataForClass(LoggerConfig, 'LoggerConfig', LoggerConfig);
4515
+ initMetadataForCompanion(Companion_3, VOID, [SerializerFactory]);
4516
+ initMetadataForClass(Origin, 'Origin', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_8});
4517
+ initMetadataForInterface(BaseCommand, 'BaseCommand', VOID, VOID, VOID, [1, 2]);
4518
+ initMetadataForInterface(Command, 'Command', VOID, VOID, [BaseCommand], [1, 2]);
4519
+ initMetadataForInterface(ServiceCommand, 'ServiceCommand', VOID, VOID, [Command], [1, 2]);
4520
+ initMetadataForClass(ActionType, 'ActionType');
4521
+ initMetadataForInterface(ServiceCommandContract, 'ServiceCommandContract', VOID, VOID, VOID, [2]);
4522
+ initMetadataForInterface(IChainCommandConfig, 'IChainCommandConfig');
4523
+ protoOf(BaseChainCommand$config$1).l2s = get_minExecutions;
4524
+ initMetadataForClass(BaseChainCommand$config$1, VOID, VOID, VOID, [IChainCommandConfig]);
4525
+ initMetadataForInterface(BaseChainCommand, 'BaseChainCommand', VOID, VOID, [BaseCommand], [1, 2]);
4526
+ initMetadataForInterface(BasePipelineCommand, 'BasePipelineCommand', VOID, VOID, [BaseCommand], [1, 2]);
4527
+ initMetadataForInterface(ChainCommand, 'ChainCommand', VOID, VOID, [Command, BaseChainCommand], [1, 2]);
4528
+ initMetadataForInterface(PipelineCommand, 'PipelineCommand', VOID, VOID, [Command, BasePipelineCommand], [1, 2]);
4529
+ initMetadataForInterface(MultiService, 'MultiService', VOID, VOID, [PipelineCommand], [1, 2]);
4530
+ initMetadataForInterface(ICommandInitExtension, 'ICommandInitExtension');
4531
+ initMetadataForClass(CommandExecutionPhase, 'CommandExecutionPhase');
4532
+ initMetadataForInterface(ICommandExecutionExtension, 'ICommandExecutionExtension');
4533
+ initMetadataForInterface(ICommandExecutionListener, 'ICommandExecutionListener');
4534
+ protoOf(BaseCommand$andThen$1).i2s = andThen;
4535
+ initMetadataForClass(BaseCommand$andThen$1, VOID, VOID, VOID, [BaseCommand], [1, 2]);
4536
+ initMetadataForObject(IdkErrorCommandErrorMapper, 'IdkErrorCommandErrorMapper');
4537
+ initMetadataForObject(CommandErrors, 'CommandErrors');
4538
+ initMetadataForCompanion(Companion_4);
4539
+ initMetadataForClass(LocalDateTimeKMP, 'LocalDateTimeKMP', VOID, VOID, [Comparable], VOID, VOID, {0: LocalDateTimeIso8601SerializerKMP_getInstance});
4540
+ initMetadataForObject(LocalDateTimeIso8601SerializerKMP, 'LocalDateTimeIso8601SerializerKMP', VOID, VOID, [KSerializer]);
4541
+ initMetadataForCompanion(Companion_5);
4542
+ initMetadataForClass(DateTimeUtils, 'DateTimeUtils', DateTimeUtils);
4543
+ initMetadataForObject(DateTimeUtilsDefault, 'DateTimeUtilsDefault');
4544
+ initMetadataForObject(Uuid, 'Uuid');
4545
+ initMetadataForInterface(TenantContextData, 'TenantContextData');
4546
+ initMetadataForClass(TenantContextDataImpl, 'TenantContextDataImpl', VOID, VOID, [TenantContextData]);
4547
+ initMetadataForClass(Order, 'Order');
4548
+ initMetadataForCompanion(Companion_6);
4549
+ initMetadataForInterface(TenantAware, 'TenantAware');
4550
+ initMetadataForInterface(PrincipalAware, 'PrincipalAware');
4551
+ initMetadataForInterface(UserContext, 'UserContext', VOID, VOID, [TenantAware, PrincipalAware]);
4552
+ initMetadataForInterface(SecuredTenantContextDetails, 'SecuredTenantContextDetails');
4553
+ initMetadataForInterface(UserSecuredContext, 'UserSecuredContext', VOID, VOID, [UserContext]);
4554
+ initMetadataForInterface(ContextAware, 'ContextAware');
4555
+ initMetadataForClass(UserScope, 'UserScope');
4556
+ initMetadataForInterface(ISessionContextAware, 'ISessionContextAware');
4557
+ initMetadataForClass(SessionScope, 'SessionScope');
4558
+ initMetadataForClass(SslConfig, 'SslConfig', SslConfig);
4559
+ initMetadataForClass(ClientSslConfig, 'ClientSslConfig', ClientSslConfig);
4560
+ initMetadataForClass(ServerSslConfig, 'ServerSslConfig', ServerSslConfig);
4561
+ initMetadataForClass(CaOpts, 'CaOpts', CaOpts);
4562
+ initMetadataForClass(HttpClientEngineType, 'HttpClientEngineType');
4563
+ initMetadataForCompanion(Companion_7);
4564
+ initMetadataForClass(HttpClientOptions, 'HttpClientOptions', HttpClientOptions);
4565
+ initMetadataForInterface(PromptRegistry, 'PromptRegistry');
4566
+ initMetadataForClass(CancelReason, 'CancelReason');
4567
+ initMetadataForCompanion(Companion_8);
4568
+ initMetadataForClass(PromptId, 'PromptId');
4569
+ initMetadataForCompanion(Companion_9);
4570
+ initMetadataForClass(PromptPresentationHint, 'PromptPresentationHint', PromptPresentationHint);
4571
+ initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
4572
+ initMetadataForCompanion(Companion_10);
4573
+ initMetadataForClass(PromptPriority, 'PromptPriority');
4574
+ initMetadataForInterface(PromptRequest, 'PromptRequest');
4575
+ initMetadataForInterface(SinglePromptRequest, 'SinglePromptRequest', VOID, VOID, [PromptRequest]);
4576
+ initMetadataForClass(NfcPromptRequest, 'NfcPromptRequest', VOID, VOID, [SinglePromptRequest]);
4577
+ initMetadataForClass(BiometricPromptRequest, 'BiometricPromptRequest', VOID, VOID, [SinglePromptRequest]);
4578
+ initMetadataForClass(BiometricUnlockPromptRequest, 'BiometricUnlockPromptRequest', VOID, VOID, [SinglePromptRequest]);
4579
+ initMetadataForClass(PassphrasePromptRequest, 'PassphrasePromptRequest', VOID, VOID, [SinglePromptRequest]);
4580
+ initMetadataForClass(ConfirmationPromptRequest, 'ConfirmationPromptRequest', VOID, VOID, [SinglePromptRequest]);
4581
+ initMetadataForInterface(PromptResponse, 'PromptResponse');
4582
+ initMetadataForClass(PromptState, 'PromptState');
4583
+ initMetadataForClass(ForegroundState, 'ForegroundState');
4584
+ initMetadataForInterface(PromptPresenter, 'PromptPresenter');
4585
+ initMetadataForInterface(WizardStep, 'WizardStep');
4586
+ //endregion
4587
+ //region block: init
4588
+ Companion_instance = new Companion();
4589
+ Companion_instance_0 = new Companion_0();
4590
+ IdkErrorCommandErrorMapper_instance = new IdkErrorCommandErrorMapper();
4591
+ CommandErrors_instance = new CommandErrors();
4592
+ Companion_instance_4 = new Companion_4();
4593
+ Uuid_instance = new Uuid();
4594
+ Companion_instance_6 = new Companion_6();
4595
+ Companion_instance_7 = new Companion_7();
4596
+ Companion_instance_8 = new Companion_8();
4597
+ Companion_instance_10 = new Companion_10();
4598
+ //endregion
4599
+ //region block: exports
4600
+ Encoding.values = values;
4601
+ Encoding.valueOf = valueOf;
4602
+ defineProp(Encoding, 'BASE64', Encoding_BASE64_getInstance, VOID, true);
4603
+ defineProp(Encoding, 'BASE64URL', Encoding_BASE64URL_getInstance, VOID, true);
4604
+ defineProp(Encoding, 'BASE58BTC', Encoding_BASE58BTC_getInstance, VOID, true);
4605
+ defineProp(Encoding, 'HEX', Encoding_HEX_getInstance, VOID, true);
4606
+ defineProp(Encoding, 'UTF8', Encoding_UTF8_getInstance, VOID, true);
4607
+ defineProp(IdkResult, 'Companion', Companion_getInstance_4, VOID, true);
4608
+ IdkError.fromDTO = fromDTO;
4609
+ IdkError.fromString = fromString;
4610
+ IdkError.fromDefinition = fromDefinition;
4611
+ IdkError.UNKNOWN_ERROR = UNKNOWN_ERROR;
4612
+ IdkError.ILLEGAL_ARGUMENT_ERROR = ILLEGAL_ARGUMENT_ERROR;
4613
+ IdkError.COMMAND_ARG_NOT_SUPPORTED_ERROR = COMMAND_ARG_NOT_SUPPORTED_ERROR;
4614
+ IdkError.NOT_FOUND_ERROR = NOT_FOUND_ERROR;
4615
+ IdkError.COMMAND_DISABLED_ERROR = COMMAND_DISABLED_ERROR;
4616
+ IdkError.COMMAND_SKIPPED_ERROR = COMMAND_SKIPPED_ERROR;
4617
+ IdkError.COMMAND_NOT_AUTHORIZED_ERROR = COMMAND_NOT_AUTHORIZED_ERROR;
4618
+ IdkError.ALL_HANDLERS_FAILED_ERROR = ALL_HANDLERS_FAILED_ERROR;
4619
+ IdkError.UNAUTHORIZED_ERROR = UNAUTHORIZED_ERROR;
4620
+ IdkError.FORBIDDEN_ERROR = FORBIDDEN_ERROR;
4621
+ IdkError.ALREADY_EXISTS_ERROR = ALREADY_EXISTS_ERROR;
4622
+ IdkError.INVALID_STATE = INVALID_STATE;
4623
+ IdkError.Severity = Severity;
4624
+ IdkError.Severity.values = values_0;
4625
+ IdkError.Severity.valueOf = valueOf_0;
4626
+ defineProp(IdkError.Severity, 'INFO', Severity_INFO_getInstance, VOID, true);
4627
+ defineProp(IdkError.Severity, 'WARNING', Severity_WARNING_getInstance, VOID, true);
4628
+ defineProp(IdkError.Severity, 'ERROR', Severity_ERROR_getInstance, VOID, true);
4629
+ defineProp(IdkError.Severity, 'FATAL', Severity_FATAL_getInstance, VOID, true);
4630
+ IdkError.Message = Message;
4631
+ defineProp(IdkError, 'Companion', Companion_getInstance_5, VOID, true);
4632
+ ErrorCategory.values = values_1;
4633
+ ErrorCategory.valueOf = valueOf_1;
4634
+ defineProp(ErrorCategory, 'VALIDATION', ErrorCategory_VALIDATION_getInstance, VOID, true);
4635
+ defineProp(ErrorCategory, 'UNAUTHORIZED', ErrorCategory_UNAUTHORIZED_getInstance, VOID, true);
4636
+ defineProp(ErrorCategory, 'FORBIDDEN', ErrorCategory_FORBIDDEN_getInstance, VOID, true);
4637
+ defineProp(ErrorCategory, 'NOT_FOUND', ErrorCategory_NOT_FOUND_getInstance, VOID, true);
4638
+ defineProp(ErrorCategory, 'CONFLICT', ErrorCategory_CONFLICT_getInstance, VOID, true);
4639
+ defineProp(ErrorCategory, 'PRECONDITION_FAILED', ErrorCategory_PRECONDITION_FAILED_getInstance, VOID, true);
4640
+ defineProp(ErrorCategory, 'RATE_LIMITED', ErrorCategory_RATE_LIMITED_getInstance, VOID, true);
4641
+ defineProp(ErrorCategory, 'UNAVAILABLE', ErrorCategory_UNAVAILABLE_getInstance, VOID, true);
4642
+ defineProp(ErrorCategory, 'INTERNAL', ErrorCategory_INTERNAL_getInstance, VOID, true);
4643
+ defineProp(ErrorCategory, 'PROTOCOL', ErrorCategory_PROTOCOL_getInstance, VOID, true);
4644
+ var jsonSerializer = {get: get_jsonSerializer};
4645
+ var JsonSupport_0 = {getInstance: JsonSupport_getInstance};
4646
+ LogOutputFormat.values = values_2;
4647
+ LogOutputFormat.valueOf = valueOf_2;
4648
+ defineProp(LogOutputFormat, 'TEXT', LogOutputFormat_TEXT_getInstance, VOID, true);
4649
+ defineProp(LogOutputFormat, 'JSON', LogOutputFormat_JSON_getInstance, VOID, true);
4650
+ LogLevel.values = values_3;
4651
+ LogLevel.valueOf = valueOf_3;
4652
+ defineProp(LogLevel, 'TRACE', LogLevel_TRACE_getInstance, VOID, true);
4653
+ defineProp(LogLevel, 'DEBUG', LogLevel_DEBUG_getInstance, VOID, true);
4654
+ defineProp(LogLevel, 'INFO', LogLevel_INFO_getInstance, VOID, true);
4655
+ defineProp(LogLevel, 'WARN', LogLevel_WARN_getInstance, VOID, true);
4656
+ defineProp(LogLevel, 'ERROR', LogLevel_ERROR_getInstance, VOID, true);
4657
+ defineProp(LogLevel, 'OFF', LogLevel_OFF_getInstance, VOID, true);
4658
+ defineProp(LoggerConfig, 'Disabled', get_Disabled, VOID, true);
4659
+ defineProp(LoggerConfig, 'Debug', get_Debug, VOID, true);
4660
+ defineProp(LoggerConfig, 'Default', get_Default, VOID, true);
4661
+ defineProp(LoggerConfig, 'JsonWithTimestamp', get_JsonWithTimestamp, VOID, true);
4662
+ defineProp(LoggerConfig, 'Companion', Companion_getInstance_7, VOID, true);
4663
+ CommandExecutionPhase.values = values_5;
4664
+ CommandExecutionPhase.valueOf = valueOf_4;
4665
+ defineProp(CommandExecutionPhase, 'BEFORE', CommandExecutionPhase_BEFORE_getInstance, VOID, true);
4666
+ defineProp(CommandExecutionPhase, 'DURING', CommandExecutionPhase_DURING_getInstance, VOID, true);
4667
+ defineProp(CommandExecutionPhase, 'AFTER', CommandExecutionPhase_AFTER_getInstance, VOID, true);
4668
+ LocalDateTimeKMP.now = now;
4669
+ LocalDateTimeKMP.nowWithTimezone = nowWithTimezone;
4670
+ LocalDateTimeKMP.fromString = fromString_0;
4671
+ defineProp(LocalDateTimeKMP, 'Companion', Companion_getInstance_9, VOID, true);
4672
+ defineProp(DateTimeUtils, 'DEFAULTS', get_DEFAULTS, VOID, true);
4673
+ defineProp(DateTimeUtils, 'Companion', Companion_getInstance_10, VOID, true);
4674
+ var DateTimeUtilsDefault_0 = {getInstance: DateTimeUtilsDefault_getInstance};
4675
+ var Uuid_0 = {getInstance: Uuid_getInstance};
4676
+ var UserContext_0 = {};
4677
+ defineProp(UserContext_0, 'Companion', Companion_getInstance_11, VOID, true);
4678
+ CancelReason.values = values_6;
4679
+ CancelReason.valueOf = valueOf_5;
4680
+ defineProp(CancelReason, 'USER', CancelReason_USER_getInstance, VOID, true);
4681
+ defineProp(CancelReason, 'SUPERSEDED', CancelReason_SUPERSEDED_getInstance, VOID, true);
4682
+ defineProp(CancelReason, 'BACKGROUND', CancelReason_BACKGROUND_getInstance, VOID, true);
4683
+ defineProp(CancelReason, 'SYSTEM', CancelReason_SYSTEM_getInstance, VOID, true);
4684
+ defineProp(PromptPresentationHint, 'Companion', Companion_getInstance_14, VOID, true);
4685
+ PromptPriority.values = values_7;
4686
+ PromptPriority.valueOf = valueOf_6;
4687
+ defineProp(PromptPriority, 'CRITICAL', PromptPriority_CRITICAL_getInstance, VOID, true);
4688
+ defineProp(PromptPriority, 'HIGH', PromptPriority_HIGH_getInstance, VOID, true);
4689
+ defineProp(PromptPriority, 'NORMAL', PromptPriority_NORMAL_getInstance, VOID, true);
4690
+ defineProp(PromptPriority, 'LOW', PromptPriority_LOW_getInstance, VOID, true);
4691
+ defineProp(PromptPriority, 'BACKGROUND', PromptPriority_BACKGROUND_getInstance, VOID, true);
4692
+ defineProp(PromptPriority, 'Companion', Companion_getInstance_15, VOID, true);
4693
+ PromptState.values = values_8;
4694
+ PromptState.valueOf = valueOf_7;
4695
+ defineProp(PromptState, 'PENDING', PromptState_PENDING_getInstance, VOID, true);
4696
+ defineProp(PromptState, 'ACTIVE', PromptState_ACTIVE_getInstance, VOID, true);
4697
+ defineProp(PromptState, 'SUCCESS', PromptState_SUCCESS_getInstance, VOID, true);
4698
+ defineProp(PromptState, 'CANCELLED', PromptState_CANCELLED_getInstance, VOID, true);
4699
+ defineProp(PromptState, 'TIMED_OUT', PromptState_TIMED_OUT_getInstance, VOID, true);
4700
+ defineProp(PromptState, 'ERROR', PromptState_ERROR_getInstance, VOID, true);
4701
+ ForegroundState.values = values_9;
4702
+ ForegroundState.valueOf = valueOf_8;
4703
+ defineProp(ForegroundState, 'FOREGROUND', ForegroundState_FOREGROUND_getInstance, VOID, true);
4704
+ defineProp(ForegroundState, 'BACKGROUND', ForegroundState_BACKGROUND_getInstance, VOID, true);
4705
+ defineProp(ForegroundState, 'UNKNOWN', ForegroundState_UNKNOWN_getInstance, VOID, true);
4706
+ export {
4707
+ Encoding as Encoding,
4708
+ decodeFromHex as decodeFromHex,
4709
+ encodeToHex as encodeToHex,
4710
+ encodeToBase58Btc as encodeToBase58Btc,
4711
+ decodeFromBase58Btc as decodeFromBase58Btc,
4712
+ decodeFromBase64Url as decodeFromBase64Url,
4713
+ encodeToBase64Url as encodeToBase64Url,
4714
+ encodeToBase64 as encodeToBase64,
4715
+ decodeFromBase64 as decodeFromBase64,
4716
+ decodeFrom as decodeFrom,
4717
+ encodeTo as encodeTo,
4718
+ decodeUrlGraph as decodeUrlGraph,
4719
+ encodeUrlGraph as encodeUrlGraph,
4720
+ IdkResult as IdkResult,
4721
+ Ok_0 as Ok,
4722
+ Err_0 as Err,
4723
+ IdkIsOk as IdkIsOk,
4724
+ IdkIsErr as IdkIsErr,
4725
+ IdkGetOrNull as IdkGetOrNull,
4726
+ IdkErrorOrNull as IdkErrorOrNull,
4727
+ IdkOkResult as IdkOkResult,
4728
+ IdkErrorResult as IdkErrorResult,
4729
+ IdkError as IdkError,
4730
+ ErrorCategory as ErrorCategory,
4731
+ jsonSerializer as jsonSerializer,
4732
+ JsonSupport_0 as JsonSupport,
4733
+ LogOutputFormat as LogOutputFormat,
4734
+ LogMessage as LogMessage,
4735
+ LogLevel as LogLevel,
4736
+ LoggerConfig as LoggerConfig,
4737
+ CommandExecutionPhase as CommandExecutionPhase,
4738
+ kmpListOf as kmpListOf,
4739
+ kmpSetOf as kmpSetOf,
4740
+ kmpMapOf as kmpMapOf,
4741
+ LocalDateTimeKMP as LocalDateTimeKMP,
4742
+ DateTimeUtils as DateTimeUtils,
4743
+ DateTimeUtilsDefault_0 as DateTimeUtilsDefault,
4744
+ Uuid_0 as Uuid,
4745
+ TenantContextDataImpl as TenantContextDataImpl,
4746
+ UserContext_0 as UserContext,
4747
+ UserScope as UserScope,
4748
+ SessionScope as SessionScope,
4749
+ CancelReason as CancelReason,
4750
+ PromptPresentationHint as PromptPresentationHint,
4751
+ PromptPriority as PromptPriority,
4752
+ NfcPromptRequest as NfcPromptRequest,
4753
+ BiometricPromptRequest as BiometricPromptRequest,
4754
+ BiometricUnlockPromptRequest as BiometricUnlockPromptRequest,
4755
+ PassphrasePromptRequest as PassphrasePromptRequest,
4756
+ ConfirmationPromptRequest as ConfirmationPromptRequest,
4757
+ PromptState as PromptState,
4758
+ ForegroundState as ForegroundState,
4759
+ };
4760
+ export {
4761
+ Message as Messagewe9y1c82z9xg,
4762
+ IdkError as IdkError2sgfqzhbgqgzo,
4763
+ NotFoundException as NotFoundException1nc2pz9vpeyq7,
4764
+ ServiceCommand as ServiceCommand2ipvutipel438,
4765
+ Command as Commandx68wq02phbzl,
4766
+ Err_0 as Err2cndwvrrxrbxb,
4767
+ Ok_0 as Okrwqdz458ybob,
4768
+ asErrorResult as asErrorResult2t61x2oy4870d,
4769
+ decodeFromBase64Url as decodeFromBase64Url3ffgzyiduv5ck,
4770
+ decodeFromBase64 as decodeFromBase6490f19dqrq6mr,
4771
+ decodeFromHex as decodeFromHex2g869l1sb6kd2,
4772
+ decodeFrom as decodeFrom1073q8kh3s8td,
4773
+ encodeToBase64Url as encodeToBase64Url2i0k898p6b1e3,
4774
+ encodeToBase64 as encodeToBase641me3cj59pcown,
4775
+ encodeTo as encodeTor9bkrvfg8b4d,
4776
+ mergeJsonElement as mergeJsonElement1rrade3s73qv4,
4777
+ toKotlin as toKotlin2s7lqlzr80lb7,
4778
+ appendUInt16 as appendUInt161gvzy2qtzy6su,
4779
+ appendUInt32 as appendUInt321o2oja5gonu7g,
4780
+ appendUInt64 as appendUInt641vfseodaf624a,
4781
+ appendUInt8 as appendUInt8re067py6h8wc,
4782
+ stringify as stringify34zhnmfghbpa3,
4783
+ Companion_instance_0 as Companion_instance27w1uk4n2zibh,
4784
+ JsonSupport_getInstance as JsonSupport_getInstancex54wn5ca5gf8,
4785
+ Companion_getInstance_8 as Companion_getInstancefi8zshmt9noi,
4786
+ Base64Serializer_getInstance as Base64Serializer_getInstancee8lzobth4ar4,
4787
+ Base64UrlSerializer_getInstance as Base64UrlSerializer_getInstance1sapk02kth7mc,
4788
+ Companion_getInstance_10 as Companion_getInstance30e4zwksmxd8c,
4789
+ LocalDateTimeIso8601SerializerKMP_getInstance as LocalDateTimeIso8601SerializerKMP_getInstance2vttbktwymv0e,
4790
+ Companion_instance_4 as Companion_instance5oxdm74ajkut,
4791
+ Uuid_instance as Uuid_instancexdw152vfl0sv,
4792
+ Companion_instance_7 as Companion_instance3okt1bfv4zjyt,
4793
+ Severity_ERROR_getInstance as Severity_ERROR_getInstance9py2fxzng5v1,
4794
+ Origin_MANAGED_getInstance as Origin_MANAGED_getInstance1rog3f0e0oydk,
4795
+ Encoding_BASE64URL_getInstance as Encoding_BASE64URL_getInstance3007plr09ildu,
4796
+ Encoding_BASE64_getInstance as Encoding_BASE64_getInstance1xh6pw2c537bw,
4797
+ Encoding_HEX_getInstance as Encoding_HEX_getInstance3cjbki6wjz0rh,
4798
+ Encoding_UTF8_getInstance as Encoding_UTF8_getInstance79x1u1osdb4y,
4799
+ Order_MEDIUM_getInstance as Order_MEDIUM_getInstancea4r0ptz353c3,
4800
+ };
4801
+ //endregion
4802
+
4803
+ //# sourceMappingURL=idk-lib-core-api-public.mjs.map