@dmarket/p2p-tracker-headless 1.0.4-SNAPSHOT-development.129 → 1.1.0-beta
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.
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +1 -1
- package/p2p-tracker-core.mjs +3197 -3185
- package/p2p-tracker-core.mjs.map +1 -1
- package/p2p-tracker-headless.mjs +717 -719
- package/p2p-tracker-headless.mjs.map +1 -1
- package/package.json +1 -1
package/p2p-tracker-headless.mjs
CHANGED
|
@@ -294,7 +294,7 @@ function redacted($this, $receiver) {
|
|
|
294
294
|
tmp = $receiver;
|
|
295
295
|
} else {
|
|
296
296
|
if ($receiver instanceof SessionClosed) {
|
|
297
|
-
var tmp1_safe_receiver = $receiver.
|
|
297
|
+
var tmp1_safe_receiver = $receiver.fat_1;
|
|
298
298
|
var tmp_0;
|
|
299
299
|
if (tmp1_safe_receiver == null) {
|
|
300
300
|
tmp_0 = null;
|
|
@@ -302,22 +302,22 @@ function redacted($this, $receiver) {
|
|
|
302
302
|
// Inline function 'kotlin.let' call
|
|
303
303
|
tmp_0 = ProverOutput_getInstance().l76(tmp1_safe_receiver);
|
|
304
304
|
}
|
|
305
|
-
tmp = $receiver.
|
|
305
|
+
tmp = $receiver.hau(VOID, tmp_0);
|
|
306
306
|
} else {
|
|
307
307
|
if ($receiver instanceof NotaryUnreachable) {
|
|
308
|
-
tmp = $receiver.
|
|
308
|
+
tmp = $receiver.iau(ProverOutput_getInstance().l76($receiver.iat_1));
|
|
309
309
|
} else {
|
|
310
310
|
if ($receiver instanceof VersionMismatch) {
|
|
311
|
-
tmp = $receiver.
|
|
311
|
+
tmp = $receiver.iau(ProverOutput_getInstance().l76($receiver.lat_1));
|
|
312
312
|
} else {
|
|
313
313
|
if ($receiver instanceof SteamFailed) {
|
|
314
|
-
tmp = $receiver.
|
|
314
|
+
tmp = $receiver.kau(VOID, ProverOutput_getInstance().l76($receiver.pat_1));
|
|
315
315
|
} else {
|
|
316
316
|
if ($receiver instanceof LimitsExceeded) {
|
|
317
|
-
tmp = $receiver.
|
|
317
|
+
tmp = $receiver.iau(ProverOutput_getInstance().l76($receiver.sat_1));
|
|
318
318
|
} else {
|
|
319
319
|
if ($receiver instanceof ProverKilled) {
|
|
320
|
-
var tmp2_safe_receiver = $receiver.
|
|
320
|
+
var tmp2_safe_receiver = $receiver.yat_1;
|
|
321
321
|
var tmp_1;
|
|
322
322
|
if (tmp2_safe_receiver == null) {
|
|
323
323
|
tmp_1 = null;
|
|
@@ -325,13 +325,13 @@ function redacted($this, $receiver) {
|
|
|
325
325
|
// Inline function 'kotlin.let' call
|
|
326
326
|
tmp_1 = ProverOutput_getInstance().l76(tmp2_safe_receiver);
|
|
327
327
|
}
|
|
328
|
-
tmp = $receiver.
|
|
328
|
+
tmp = $receiver.pau(VOID, tmp_1);
|
|
329
329
|
} else {
|
|
330
330
|
if ($receiver instanceof NotStarted) {
|
|
331
|
-
tmp = $receiver.
|
|
331
|
+
tmp = $receiver.iau(ProverOutput_getInstance().l76($receiver.bau_1));
|
|
332
332
|
} else {
|
|
333
333
|
if ($receiver instanceof Other) {
|
|
334
|
-
tmp = $receiver.
|
|
334
|
+
tmp = $receiver.iau(ProverOutput_getInstance().l76($receiver.eau_1));
|
|
335
335
|
} else {
|
|
336
336
|
noWhenBranchMatchedException();
|
|
337
337
|
}
|
|
@@ -353,13 +353,13 @@ function ProofOutcomeJson$json$lambda($this$Json) {
|
|
|
353
353
|
function ProofOutcomeJson() {
|
|
354
354
|
ProofOutcomeJson_instance = this;
|
|
355
355
|
var tmp = this;
|
|
356
|
-
tmp.
|
|
356
|
+
tmp.kbx_1 = Json(VOID, ProofOutcomeJson$json$lambda);
|
|
357
357
|
}
|
|
358
|
-
protoOf(ProofOutcomeJson).
|
|
359
|
-
var fields = get_jsonObject(this.
|
|
360
|
-
return (new JsonObject(plus(fields, to('summary', JsonPrimitive(ProverOutput_getInstance().l76(failure.
|
|
358
|
+
protoOf(ProofOutcomeJson).lbx = function (failure) {
|
|
359
|
+
var fields = get_jsonObject(this.kbx_1.e52(Companion_instance_0.r54(), redacted(this, failure)));
|
|
360
|
+
return (new JsonObject(plus(fields, to('summary', JsonPrimitive(ProverOutput_getInstance().l76(failure.fau())))))).toString();
|
|
361
361
|
};
|
|
362
|
-
protoOf(ProofOutcomeJson).
|
|
362
|
+
protoOf(ProofOutcomeJson).mbx = function (message, warning, fields) {
|
|
363
363
|
var head = listOf([to('msg', JsonPrimitive(message)), to('level', JsonPrimitive(warning ? 'warn' : 'info'))]);
|
|
364
364
|
// Inline function 'kotlin.collections.map' call
|
|
365
365
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -390,7 +390,7 @@ function ProofOutcomeJson_getInstance() {
|
|
|
390
390
|
return ProofOutcomeJson_instance;
|
|
391
391
|
}
|
|
392
392
|
function backoff($this, consecutive) {
|
|
393
|
-
var wait = $this.
|
|
393
|
+
var wait = $this.tbx_1;
|
|
394
394
|
// Inline function 'kotlin.repeat' call
|
|
395
395
|
var times = coerceIn(consecutive, 0, 10);
|
|
396
396
|
var inductionVariable = 0;
|
|
@@ -401,39 +401,39 @@ function backoff($this, consecutive) {
|
|
|
401
401
|
wait = Duration__times_impl_sfuzvp(wait, 2);
|
|
402
402
|
}
|
|
403
403
|
while (inductionVariable < times);
|
|
404
|
-
return minOf(new Duration(wait), new Duration($this.
|
|
404
|
+
return minOf(new Duration(wait), new Duration($this.ubx_1)).jf_1;
|
|
405
405
|
}
|
|
406
406
|
function Companion() {
|
|
407
407
|
Companion_instance_2 = this;
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
408
|
+
this.nbx_1 = 401;
|
|
409
|
+
this.obx_1 = 403;
|
|
410
|
+
this.pbx_1 = numberRangeToNumber(500, 599);
|
|
411
|
+
this.qbx_1 = 1013;
|
|
412
|
+
this.rbx_1 = 4029;
|
|
413
|
+
this.sbx_1 = 10;
|
|
414
414
|
var tmp = this;
|
|
415
415
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
416
416
|
Companion_getInstance();
|
|
417
|
-
tmp.
|
|
417
|
+
tmp.tbx_1 = toDuration(30, DurationUnit_SECONDS_getInstance());
|
|
418
418
|
var tmp_0 = this;
|
|
419
419
|
// Inline function 'kotlin.time.Companion.minutes' call
|
|
420
420
|
Companion_getInstance();
|
|
421
|
-
tmp_0.
|
|
421
|
+
tmp_0.ubx_1 = toDuration(5, DurationUnit_MINUTES_getInstance());
|
|
422
422
|
var tmp_1 = this;
|
|
423
423
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
424
424
|
Companion_getInstance();
|
|
425
|
-
tmp_1.
|
|
425
|
+
tmp_1.vbx_1 = toDuration(60, DurationUnit_SECONDS_getInstance());
|
|
426
426
|
}
|
|
427
|
-
protoOf(Companion).
|
|
427
|
+
protoOf(Companion).wbx = function (failure, consecutive) {
|
|
428
428
|
var tmp;
|
|
429
429
|
if (failure instanceof UpgradeRefused) {
|
|
430
|
-
var tmp1_subject = failure.
|
|
430
|
+
var tmp1_subject = failure.bat_1;
|
|
431
431
|
var tmp_0;
|
|
432
432
|
var tmp_1;
|
|
433
433
|
if (tmp1_subject === 401) {
|
|
434
434
|
tmp_1 = true;
|
|
435
435
|
} else {
|
|
436
|
-
var progression = this.
|
|
436
|
+
var progression = this.pbx_1;
|
|
437
437
|
var containsLower = progression.s1_1;
|
|
438
438
|
tmp_1 = tmp1_subject <= progression.t1_1 ? containsLower <= tmp1_subject : false;
|
|
439
439
|
}
|
|
@@ -441,7 +441,7 @@ protoOf(Companion).ubx = function (failure, consecutive) {
|
|
|
441
441
|
tmp_0 = backoff(this, consecutive);
|
|
442
442
|
} else {
|
|
443
443
|
if (tmp1_subject === 403) {
|
|
444
|
-
tmp_0 = this.
|
|
444
|
+
tmp_0 = this.vbx_1;
|
|
445
445
|
} else {
|
|
446
446
|
tmp_0 = null;
|
|
447
447
|
}
|
|
@@ -449,12 +449,12 @@ protoOf(Companion).ubx = function (failure, consecutive) {
|
|
|
449
449
|
tmp = tmp_0;
|
|
450
450
|
} else {
|
|
451
451
|
if (failure instanceof SessionClosed) {
|
|
452
|
-
switch (failure.
|
|
452
|
+
switch (failure.eat_1) {
|
|
453
453
|
case 1013:
|
|
454
454
|
tmp = backoff(this, consecutive);
|
|
455
455
|
break;
|
|
456
456
|
case 4029:
|
|
457
|
-
tmp = this.
|
|
457
|
+
tmp = this.vbx_1;
|
|
458
458
|
break;
|
|
459
459
|
default:
|
|
460
460
|
tmp = null;
|
|
@@ -482,12 +482,12 @@ function Companion_getInstance_2() {
|
|
|
482
482
|
}
|
|
483
483
|
function ProverBackoff() {
|
|
484
484
|
Companion_getInstance_2();
|
|
485
|
-
this.vbx_1 = null;
|
|
486
|
-
this.wbx_1 = 0;
|
|
487
485
|
this.xbx_1 = null;
|
|
486
|
+
this.ybx_1 = 0;
|
|
487
|
+
this.zbx_1 = null;
|
|
488
488
|
}
|
|
489
|
-
protoOf(ProverBackoff).
|
|
490
|
-
var tmp0_elvis_lhs = this.
|
|
489
|
+
protoOf(ProverBackoff).aby = function (now) {
|
|
490
|
+
var tmp0_elvis_lhs = this.xbx_1;
|
|
491
491
|
var tmp;
|
|
492
492
|
if (tmp0_elvis_lhs == null) {
|
|
493
493
|
return null;
|
|
@@ -497,7 +497,7 @@ protoOf(ProverBackoff).ybx = function (now) {
|
|
|
497
497
|
var until = tmp;
|
|
498
498
|
if (now.bp(until) >= 0)
|
|
499
499
|
return null;
|
|
500
|
-
var tmp1_elvis_lhs = this.
|
|
500
|
+
var tmp1_elvis_lhs = this.zbx_1;
|
|
501
501
|
var after = tmp1_elvis_lhs == null ? 'a refusal' : tmp1_elvis_lhs;
|
|
502
502
|
var tmp_0;
|
|
503
503
|
if (until.equals(Companion_getInstance_0().uo())) {
|
|
@@ -507,8 +507,8 @@ protoOf(ProverBackoff).ybx = function (now) {
|
|
|
507
507
|
}
|
|
508
508
|
return tmp_0;
|
|
509
509
|
};
|
|
510
|
-
protoOf(ProverBackoff).
|
|
511
|
-
var tmp0_elvis_lhs = Companion_getInstance_2().
|
|
510
|
+
protoOf(ProverBackoff).bby = function (failure, now) {
|
|
511
|
+
var tmp0_elvis_lhs = Companion_getInstance_2().wbx(failure, this.ybx_1);
|
|
512
512
|
var tmp;
|
|
513
513
|
var tmp_0 = tmp0_elvis_lhs;
|
|
514
514
|
if ((tmp_0 == null ? null : new Duration(tmp_0)) == null) {
|
|
@@ -517,24 +517,24 @@ protoOf(ProverBackoff).zbx = function (failure, now) {
|
|
|
517
517
|
tmp = tmp0_elvis_lhs;
|
|
518
518
|
}
|
|
519
519
|
var wait = tmp;
|
|
520
|
-
this.
|
|
521
|
-
this.
|
|
522
|
-
this.
|
|
520
|
+
this.ybx_1 = this.ybx_1 + 1 | 0;
|
|
521
|
+
this.zbx_1 = failure.fau();
|
|
522
|
+
this.xbx_1 = equals(wait, Companion_getInstance().lf_1) ? Companion_getInstance_0().uo() : now.yo(wait);
|
|
523
523
|
};
|
|
524
|
-
protoOf(ProverBackoff).
|
|
525
|
-
this.vbx_1 = null;
|
|
526
|
-
this.wbx_1 = 0;
|
|
524
|
+
protoOf(ProverBackoff).cby = function () {
|
|
527
525
|
this.xbx_1 = null;
|
|
526
|
+
this.ybx_1 = 0;
|
|
527
|
+
this.zbx_1 = null;
|
|
528
528
|
};
|
|
529
|
-
protoOf(ProverBackoff).
|
|
530
|
-
if (!equals(this.
|
|
531
|
-
this.
|
|
529
|
+
protoOf(ProverBackoff).dby = function () {
|
|
530
|
+
if (!equals(this.xbx_1, Companion_getInstance_0().uo())) {
|
|
531
|
+
this.cby();
|
|
532
532
|
}
|
|
533
533
|
};
|
|
534
534
|
function Companion_0() {
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
537
|
-
this.
|
|
535
|
+
this.eby_1 = 2;
|
|
536
|
+
this.fby_1 = 16;
|
|
537
|
+
this.gby_1 = 5;
|
|
538
538
|
}
|
|
539
539
|
var Companion_instance_3;
|
|
540
540
|
function Companion_getInstance_3() {
|
|
@@ -548,27 +548,27 @@ function $serializer() {
|
|
|
548
548
|
tmp0_serialDesc.z2i('assetsDir', false);
|
|
549
549
|
tmp0_serialDesc.z2i('rootStorePem', true);
|
|
550
550
|
tmp0_serialDesc.z2i('targetAddress', true);
|
|
551
|
-
this.
|
|
551
|
+
this.hby_1 = tmp0_serialDesc;
|
|
552
552
|
}
|
|
553
|
-
protoOf($serializer).
|
|
554
|
-
var tmp0_desc = this.
|
|
553
|
+
protoOf($serializer).iby = function (encoder, value) {
|
|
554
|
+
var tmp0_desc = this.hby_1;
|
|
555
555
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
556
|
-
tmp1_output.y2c(tmp0_desc, 0, value.
|
|
557
|
-
tmp1_output.t2c(tmp0_desc, 1, value.
|
|
558
|
-
tmp1_output.y2c(tmp0_desc, 2, value.
|
|
559
|
-
if (tmp1_output.g2d(tmp0_desc, 3) ? true : !(value.
|
|
560
|
-
tmp1_output.c2d(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
556
|
+
tmp1_output.y2c(tmp0_desc, 0, value.jby_1);
|
|
557
|
+
tmp1_output.t2c(tmp0_desc, 1, value.kby_1);
|
|
558
|
+
tmp1_output.y2c(tmp0_desc, 2, value.lby_1);
|
|
559
|
+
if (tmp1_output.g2d(tmp0_desc, 3) ? true : !(value.mby_1 == null)) {
|
|
560
|
+
tmp1_output.c2d(tmp0_desc, 3, StringSerializer_getInstance(), value.mby_1);
|
|
561
561
|
}
|
|
562
|
-
if (tmp1_output.g2d(tmp0_desc, 4) ? true : !(value.
|
|
563
|
-
tmp1_output.c2d(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
562
|
+
if (tmp1_output.g2d(tmp0_desc, 4) ? true : !(value.nby_1 == null)) {
|
|
563
|
+
tmp1_output.c2d(tmp0_desc, 4, StringSerializer_getInstance(), value.nby_1);
|
|
564
564
|
}
|
|
565
565
|
tmp1_output.k2b(tmp0_desc);
|
|
566
566
|
};
|
|
567
567
|
protoOf($serializer).b28 = function (encoder, value) {
|
|
568
|
-
return this.
|
|
568
|
+
return this.iby(encoder, value instanceof ProverSettings ? value : THROW_CCE());
|
|
569
569
|
};
|
|
570
570
|
protoOf($serializer).c28 = function (decoder) {
|
|
571
|
-
var tmp0_desc = this.
|
|
571
|
+
var tmp0_desc = this.hby_1;
|
|
572
572
|
var tmp1_flag = true;
|
|
573
573
|
var tmp2_index = 0;
|
|
574
574
|
var tmp3_bitMask0 = 0;
|
|
@@ -624,7 +624,7 @@ protoOf($serializer).c28 = function (decoder) {
|
|
|
624
624
|
return ProverSettings_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
625
625
|
};
|
|
626
626
|
protoOf($serializer).a28 = function () {
|
|
627
|
-
return this.
|
|
627
|
+
return this.hby_1;
|
|
628
628
|
};
|
|
629
629
|
protoOf($serializer).q2j = function () {
|
|
630
630
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -640,19 +640,19 @@ function $serializer_getInstance_0() {
|
|
|
640
640
|
}
|
|
641
641
|
function ProverSettings_init_$Init$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, serializationConstructorMarker, $this) {
|
|
642
642
|
if (!(7 === (7 & seen0))) {
|
|
643
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_0().
|
|
643
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_0().hby_1);
|
|
644
644
|
}
|
|
645
|
-
$this.
|
|
646
|
-
$this.
|
|
647
|
-
$this.
|
|
645
|
+
$this.jby_1 = notaryUrl;
|
|
646
|
+
$this.kby_1 = threadCount;
|
|
647
|
+
$this.lby_1 = assetsDir;
|
|
648
648
|
if (0 === (seen0 & 8))
|
|
649
|
-
$this.
|
|
649
|
+
$this.mby_1 = null;
|
|
650
650
|
else
|
|
651
|
-
$this.
|
|
651
|
+
$this.mby_1 = rootStorePem;
|
|
652
652
|
if (0 === (seen0 & 16))
|
|
653
|
-
$this.
|
|
653
|
+
$this.nby_1 = null;
|
|
654
654
|
else
|
|
655
|
-
$this.
|
|
655
|
+
$this.nby_1 = targetAddress;
|
|
656
656
|
return $this;
|
|
657
657
|
}
|
|
658
658
|
function ProverSettings_init_$Create$(seen0, notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress, serializationConstructorMarker) {
|
|
@@ -661,21 +661,21 @@ function ProverSettings_init_$Create$(seen0, notaryUrl, threadCount, assetsDir,
|
|
|
661
661
|
function ProverSettings(notaryUrl, threadCount, assetsDir, rootStorePem, targetAddress) {
|
|
662
662
|
rootStorePem = rootStorePem === VOID ? null : rootStorePem;
|
|
663
663
|
targetAddress = targetAddress === VOID ? null : targetAddress;
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
666
|
-
this.
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
664
|
+
this.jby_1 = notaryUrl;
|
|
665
|
+
this.kby_1 = threadCount;
|
|
666
|
+
this.lby_1 = assetsDir;
|
|
667
|
+
this.mby_1 = rootStorePem;
|
|
668
|
+
this.nby_1 = targetAddress;
|
|
669
669
|
}
|
|
670
670
|
protoOf(ProverSettings).toString = function () {
|
|
671
|
-
return 'ProverSettings(notaryUrl=' + this.
|
|
671
|
+
return 'ProverSettings(notaryUrl=' + this.jby_1 + ', threadCount=' + this.kby_1 + ', assetsDir=' + this.lby_1 + ', rootStorePem=' + this.mby_1 + ', targetAddress=' + this.nby_1 + ')';
|
|
672
672
|
};
|
|
673
673
|
protoOf(ProverSettings).hashCode = function () {
|
|
674
|
-
var result = getStringHashCode(this.
|
|
675
|
-
result = imul(result, 31) + this.
|
|
676
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
677
|
-
result = imul(result, 31) + (this.
|
|
678
|
-
result = imul(result, 31) + (this.
|
|
674
|
+
var result = getStringHashCode(this.jby_1);
|
|
675
|
+
result = imul(result, 31) + this.kby_1 | 0;
|
|
676
|
+
result = imul(result, 31) + getStringHashCode(this.lby_1) | 0;
|
|
677
|
+
result = imul(result, 31) + (this.mby_1 == null ? 0 : getStringHashCode(this.mby_1)) | 0;
|
|
678
|
+
result = imul(result, 31) + (this.nby_1 == null ? 0 : getStringHashCode(this.nby_1)) | 0;
|
|
679
679
|
return result;
|
|
680
680
|
};
|
|
681
681
|
protoOf(ProverSettings).equals = function (other) {
|
|
@@ -683,15 +683,15 @@ protoOf(ProverSettings).equals = function (other) {
|
|
|
683
683
|
return true;
|
|
684
684
|
if (!(other instanceof ProverSettings))
|
|
685
685
|
return false;
|
|
686
|
-
if (!(this.
|
|
686
|
+
if (!(this.jby_1 === other.jby_1))
|
|
687
687
|
return false;
|
|
688
|
-
if (!(this.
|
|
688
|
+
if (!(this.kby_1 === other.kby_1))
|
|
689
689
|
return false;
|
|
690
|
-
if (!(this.
|
|
690
|
+
if (!(this.lby_1 === other.lby_1))
|
|
691
691
|
return false;
|
|
692
|
-
if (!(this.
|
|
692
|
+
if (!(this.mby_1 == other.mby_1))
|
|
693
693
|
return false;
|
|
694
|
-
if (!(this.
|
|
694
|
+
if (!(this.nby_1 == other.nby_1))
|
|
695
695
|
return false;
|
|
696
696
|
return true;
|
|
697
697
|
};
|
|
@@ -704,19 +704,19 @@ function ProverIpc$json$lambda($this$Json) {
|
|
|
704
704
|
function ProverIpc() {
|
|
705
705
|
ProverIpc_instance = this;
|
|
706
706
|
var tmp = this;
|
|
707
|
-
tmp.
|
|
707
|
+
tmp.oby_1 = Json(VOID, ProverIpc$json$lambda);
|
|
708
708
|
}
|
|
709
|
-
protoOf(ProverIpc).
|
|
710
|
-
return this.
|
|
709
|
+
protoOf(ProverIpc).pby = function (message) {
|
|
710
|
+
return this.oby_1.c52(Companion_instance_6.r54(), message);
|
|
711
711
|
};
|
|
712
|
-
protoOf(ProverIpc).
|
|
713
|
-
return this.
|
|
712
|
+
protoOf(ProverIpc).qby = function (message) {
|
|
713
|
+
return this.oby_1.c52(Companion_instance_10.r54(), message);
|
|
714
714
|
};
|
|
715
|
-
protoOf(ProverIpc).
|
|
716
|
-
return this.
|
|
715
|
+
protoOf(ProverIpc).rby = function (text) {
|
|
716
|
+
return this.oby_1.d52(Companion_instance_6.r54(), text);
|
|
717
717
|
};
|
|
718
|
-
protoOf(ProverIpc).
|
|
719
|
-
return this.
|
|
718
|
+
protoOf(ProverIpc).sby = function (text) {
|
|
719
|
+
return this.oby_1.d52(Companion_instance_10.r54(), text);
|
|
720
720
|
};
|
|
721
721
|
var ProverIpc_instance;
|
|
722
722
|
function ProverIpc_getInstance() {
|
|
@@ -738,23 +738,23 @@ function $serializer_0() {
|
|
|
738
738
|
tmp0_serialDesc.z2i('steamAccessToken', false);
|
|
739
739
|
tmp0_serialDesc.z2i('steamSessionId', false);
|
|
740
740
|
tmp0_serialDesc.z2i('settings', false);
|
|
741
|
-
this.
|
|
741
|
+
this.tby_1 = tmp0_serialDesc;
|
|
742
742
|
}
|
|
743
|
-
protoOf($serializer_0).
|
|
744
|
-
var tmp0_desc = this.
|
|
743
|
+
protoOf($serializer_0).uby = function (encoder, value) {
|
|
744
|
+
var tmp0_desc = this.tby_1;
|
|
745
745
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
746
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
747
|
-
tmp1_output.a2d(tmp0_desc, 1, $serializer_getInstance(), value.
|
|
748
|
-
tmp1_output.y2c(tmp0_desc, 2, value.
|
|
749
|
-
tmp1_output.y2c(tmp0_desc, 3, value.
|
|
750
|
-
tmp1_output.a2d(tmp0_desc, 4, $serializer_getInstance_0(), value.
|
|
746
|
+
tmp1_output.t2c(tmp0_desc, 0, value.vby_1);
|
|
747
|
+
tmp1_output.a2d(tmp0_desc, 1, $serializer_getInstance(), value.wby_1);
|
|
748
|
+
tmp1_output.y2c(tmp0_desc, 2, value.xby_1);
|
|
749
|
+
tmp1_output.y2c(tmp0_desc, 3, value.yby_1);
|
|
750
|
+
tmp1_output.a2d(tmp0_desc, 4, $serializer_getInstance_0(), value.zby_1);
|
|
751
751
|
tmp1_output.k2b(tmp0_desc);
|
|
752
752
|
};
|
|
753
753
|
protoOf($serializer_0).b28 = function (encoder, value) {
|
|
754
|
-
return this.
|
|
754
|
+
return this.uby(encoder, value instanceof Prove ? value : THROW_CCE());
|
|
755
755
|
};
|
|
756
756
|
protoOf($serializer_0).c28 = function (decoder) {
|
|
757
|
-
var tmp0_desc = this.
|
|
757
|
+
var tmp0_desc = this.tby_1;
|
|
758
758
|
var tmp1_flag = true;
|
|
759
759
|
var tmp2_index = 0;
|
|
760
760
|
var tmp3_bitMask0 = 0;
|
|
@@ -810,7 +810,7 @@ protoOf($serializer_0).c28 = function (decoder) {
|
|
|
810
810
|
return Prove_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
811
811
|
};
|
|
812
812
|
protoOf($serializer_0).a28 = function () {
|
|
813
|
-
return this.
|
|
813
|
+
return this.tby_1;
|
|
814
814
|
};
|
|
815
815
|
protoOf($serializer_0).q2j = function () {
|
|
816
816
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -826,13 +826,13 @@ function $serializer_getInstance_1() {
|
|
|
826
826
|
}
|
|
827
827
|
function Prove_init_$Init$(seen0, id, request, steamAccessToken, steamSessionId, settings, serializationConstructorMarker, $this) {
|
|
828
828
|
if (!(31 === (31 & seen0))) {
|
|
829
|
-
throwMissingFieldException(seen0, 31, $serializer_getInstance_1().
|
|
829
|
+
throwMissingFieldException(seen0, 31, $serializer_getInstance_1().tby_1);
|
|
830
830
|
}
|
|
831
|
-
$this.
|
|
832
|
-
$this.
|
|
833
|
-
$this.
|
|
834
|
-
$this.
|
|
835
|
-
$this.
|
|
831
|
+
$this.vby_1 = id;
|
|
832
|
+
$this.wby_1 = request;
|
|
833
|
+
$this.xby_1 = steamAccessToken;
|
|
834
|
+
$this.yby_1 = steamSessionId;
|
|
835
|
+
$this.zby_1 = settings;
|
|
836
836
|
return $this;
|
|
837
837
|
}
|
|
838
838
|
function Prove_init_$Create$(seen0, id, request, steamAccessToken, steamSessionId, settings, serializationConstructorMarker) {
|
|
@@ -848,7 +848,7 @@ function Companion_2() {
|
|
|
848
848
|
// Inline function 'kotlin.arrayOf' call
|
|
849
849
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
850
850
|
// Inline function 'kotlin.js.asDynamic' call
|
|
851
|
-
tmp.
|
|
851
|
+
tmp.abz_1 = [null, lazy(tmp_0, ToChild$Headers$Companion$$childSerializers$_anonymous__tbifd3), null];
|
|
852
852
|
}
|
|
853
853
|
var Companion_instance_5;
|
|
854
854
|
function Companion_getInstance_5() {
|
|
@@ -862,26 +862,26 @@ function $serializer_1() {
|
|
|
862
862
|
tmp0_serialDesc.z2i('id', false);
|
|
863
863
|
tmp0_serialDesc.z2i('headers', true);
|
|
864
864
|
tmp0_serialDesc.z2i('error', true);
|
|
865
|
-
this.
|
|
865
|
+
this.bbz_1 = tmp0_serialDesc;
|
|
866
866
|
}
|
|
867
|
-
protoOf($serializer_1).
|
|
868
|
-
var tmp0_desc = this.
|
|
867
|
+
protoOf($serializer_1).cbz = function (encoder, value) {
|
|
868
|
+
var tmp0_desc = this.bbz_1;
|
|
869
869
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
870
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
871
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
872
|
-
if (tmp1_output.g2d(tmp0_desc, 1) ? true : !(value.
|
|
873
|
-
tmp1_output.c2d(tmp0_desc, 1, tmp2_cached[1].p1(), value.
|
|
870
|
+
var tmp2_cached = Companion_getInstance_5().abz_1;
|
|
871
|
+
tmp1_output.t2c(tmp0_desc, 0, value.dbz_1);
|
|
872
|
+
if (tmp1_output.g2d(tmp0_desc, 1) ? true : !(value.ebz_1 == null)) {
|
|
873
|
+
tmp1_output.c2d(tmp0_desc, 1, tmp2_cached[1].p1(), value.ebz_1);
|
|
874
874
|
}
|
|
875
|
-
if (tmp1_output.g2d(tmp0_desc, 2) ? true : !(value.
|
|
876
|
-
tmp1_output.c2d(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
875
|
+
if (tmp1_output.g2d(tmp0_desc, 2) ? true : !(value.fbz_1 == null)) {
|
|
876
|
+
tmp1_output.c2d(tmp0_desc, 2, StringSerializer_getInstance(), value.fbz_1);
|
|
877
877
|
}
|
|
878
878
|
tmp1_output.k2b(tmp0_desc);
|
|
879
879
|
};
|
|
880
880
|
protoOf($serializer_1).b28 = function (encoder, value) {
|
|
881
|
-
return this.
|
|
881
|
+
return this.cbz(encoder, value instanceof Headers ? value : THROW_CCE());
|
|
882
882
|
};
|
|
883
883
|
protoOf($serializer_1).c28 = function (decoder) {
|
|
884
|
-
var tmp0_desc = this.
|
|
884
|
+
var tmp0_desc = this.bbz_1;
|
|
885
885
|
var tmp1_flag = true;
|
|
886
886
|
var tmp2_index = 0;
|
|
887
887
|
var tmp3_bitMask0 = 0;
|
|
@@ -889,7 +889,7 @@ protoOf($serializer_1).c28 = function (decoder) {
|
|
|
889
889
|
var tmp5_local1 = null;
|
|
890
890
|
var tmp6_local2 = null;
|
|
891
891
|
var tmp7_input = decoder.j2b(tmp0_desc);
|
|
892
|
-
var tmp8_cached = Companion_getInstance_5().
|
|
892
|
+
var tmp8_cached = Companion_getInstance_5().abz_1;
|
|
893
893
|
if (tmp7_input.z2b()) {
|
|
894
894
|
tmp4_local0 = tmp7_input.o2b(tmp0_desc, 0);
|
|
895
895
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -924,10 +924,10 @@ protoOf($serializer_1).c28 = function (decoder) {
|
|
|
924
924
|
return Headers_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
925
925
|
};
|
|
926
926
|
protoOf($serializer_1).a28 = function () {
|
|
927
|
-
return this.
|
|
927
|
+
return this.bbz_1;
|
|
928
928
|
};
|
|
929
929
|
protoOf($serializer_1).q2j = function () {
|
|
930
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
930
|
+
var tmp0_cached = Companion_getInstance_5().abz_1;
|
|
931
931
|
// Inline function 'kotlin.arrayOf' call
|
|
932
932
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
933
933
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -941,38 +941,38 @@ function $serializer_getInstance_2() {
|
|
|
941
941
|
}
|
|
942
942
|
function Headers_init_$Init$(seen0, id, headers, error, serializationConstructorMarker, $this) {
|
|
943
943
|
if (!(1 === (1 & seen0))) {
|
|
944
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().
|
|
944
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_2().bbz_1);
|
|
945
945
|
}
|
|
946
|
-
$this.
|
|
946
|
+
$this.dbz_1 = id;
|
|
947
947
|
if (0 === (seen0 & 2))
|
|
948
|
-
$this.
|
|
948
|
+
$this.ebz_1 = null;
|
|
949
949
|
else
|
|
950
|
-
$this.
|
|
950
|
+
$this.ebz_1 = headers;
|
|
951
951
|
if (0 === (seen0 & 4))
|
|
952
|
-
$this.
|
|
952
|
+
$this.fbz_1 = null;
|
|
953
953
|
else
|
|
954
|
-
$this.
|
|
954
|
+
$this.fbz_1 = error;
|
|
955
955
|
return $this;
|
|
956
956
|
}
|
|
957
957
|
function Headers_init_$Create$(seen0, id, headers, error, serializationConstructorMarker) {
|
|
958
958
|
return Headers_init_$Init$(seen0, id, headers, error, serializationConstructorMarker, objectCreate(protoOf(Headers)));
|
|
959
959
|
}
|
|
960
960
|
function Prove(id, request, steamAccessToken, steamSessionId, settings) {
|
|
961
|
-
this.
|
|
962
|
-
this.
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
965
|
-
this.
|
|
961
|
+
this.vby_1 = id;
|
|
962
|
+
this.wby_1 = request;
|
|
963
|
+
this.xby_1 = steamAccessToken;
|
|
964
|
+
this.yby_1 = steamSessionId;
|
|
965
|
+
this.zby_1 = settings;
|
|
966
966
|
}
|
|
967
967
|
protoOf(Prove).toString = function () {
|
|
968
|
-
return 'Prove(id=' + this.
|
|
968
|
+
return 'Prove(id=' + this.vby_1 + ', request=' + this.wby_1.toString() + ', steamAccessToken=<redacted>, steamSessionId=<redacted>)';
|
|
969
969
|
};
|
|
970
970
|
protoOf(Prove).hashCode = function () {
|
|
971
|
-
var result = this.
|
|
972
|
-
result = imul(result, 31) + this.
|
|
973
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
974
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
975
|
-
result = imul(result, 31) + this.
|
|
971
|
+
var result = this.vby_1;
|
|
972
|
+
result = imul(result, 31) + this.wby_1.hashCode() | 0;
|
|
973
|
+
result = imul(result, 31) + getStringHashCode(this.xby_1) | 0;
|
|
974
|
+
result = imul(result, 31) + getStringHashCode(this.yby_1) | 0;
|
|
975
|
+
result = imul(result, 31) + this.zby_1.hashCode() | 0;
|
|
976
976
|
return result;
|
|
977
977
|
};
|
|
978
978
|
protoOf(Prove).equals = function (other) {
|
|
@@ -980,15 +980,15 @@ protoOf(Prove).equals = function (other) {
|
|
|
980
980
|
return true;
|
|
981
981
|
if (!(other instanceof Prove))
|
|
982
982
|
return false;
|
|
983
|
-
if (!(this.
|
|
983
|
+
if (!(this.vby_1 === other.vby_1))
|
|
984
984
|
return false;
|
|
985
|
-
if (!this.
|
|
985
|
+
if (!this.wby_1.equals(other.wby_1))
|
|
986
986
|
return false;
|
|
987
|
-
if (!(this.
|
|
987
|
+
if (!(this.xby_1 === other.xby_1))
|
|
988
988
|
return false;
|
|
989
|
-
if (!(this.
|
|
989
|
+
if (!(this.yby_1 === other.yby_1))
|
|
990
990
|
return false;
|
|
991
|
-
if (!this.
|
|
991
|
+
if (!this.zby_1.equals(other.zby_1))
|
|
992
992
|
return false;
|
|
993
993
|
return true;
|
|
994
994
|
};
|
|
@@ -996,18 +996,18 @@ function Headers(id, headers, error) {
|
|
|
996
996
|
Companion_getInstance_5();
|
|
997
997
|
headers = headers === VOID ? null : headers;
|
|
998
998
|
error = error === VOID ? null : error;
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
1001
|
-
this.
|
|
999
|
+
this.dbz_1 = id;
|
|
1000
|
+
this.ebz_1 = headers;
|
|
1001
|
+
this.fbz_1 = error;
|
|
1002
1002
|
}
|
|
1003
1003
|
protoOf(Headers).toString = function () {
|
|
1004
|
-
var tmp0_safe_receiver = this.
|
|
1005
|
-
return 'Headers(id=' + this.
|
|
1004
|
+
var tmp0_safe_receiver = this.ebz_1;
|
|
1005
|
+
return 'Headers(id=' + this.dbz_1 + ', headers=' + toString(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x2()) + ': <redacted>, error=' + this.fbz_1 + ')';
|
|
1006
1006
|
};
|
|
1007
1007
|
protoOf(Headers).hashCode = function () {
|
|
1008
|
-
var result = this.
|
|
1009
|
-
result = imul(result, 31) + (this.
|
|
1010
|
-
result = imul(result, 31) + (this.
|
|
1008
|
+
var result = this.dbz_1;
|
|
1009
|
+
result = imul(result, 31) + (this.ebz_1 == null ? 0 : hashCode(this.ebz_1)) | 0;
|
|
1010
|
+
result = imul(result, 31) + (this.fbz_1 == null ? 0 : getStringHashCode(this.fbz_1)) | 0;
|
|
1011
1011
|
return result;
|
|
1012
1012
|
};
|
|
1013
1013
|
protoOf(Headers).equals = function (other) {
|
|
@@ -1015,11 +1015,11 @@ protoOf(Headers).equals = function (other) {
|
|
|
1015
1015
|
return true;
|
|
1016
1016
|
if (!(other instanceof Headers))
|
|
1017
1017
|
return false;
|
|
1018
|
-
if (!(this.
|
|
1018
|
+
if (!(this.dbz_1 === other.dbz_1))
|
|
1019
1019
|
return false;
|
|
1020
|
-
if (!equals(this.
|
|
1020
|
+
if (!equals(this.ebz_1, other.ebz_1))
|
|
1021
1021
|
return false;
|
|
1022
|
-
if (!(this.
|
|
1022
|
+
if (!(this.fbz_1 == other.fbz_1))
|
|
1023
1023
|
return false;
|
|
1024
1024
|
return true;
|
|
1025
1025
|
};
|
|
@@ -1060,19 +1060,19 @@ function $serializer_2() {
|
|
|
1060
1060
|
$serializer_instance_2 = this;
|
|
1061
1061
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('headers_wanted', this, 1);
|
|
1062
1062
|
tmp0_serialDesc.z2i('id', false);
|
|
1063
|
-
this.
|
|
1063
|
+
this.gbz_1 = tmp0_serialDesc;
|
|
1064
1064
|
}
|
|
1065
|
-
protoOf($serializer_2).
|
|
1066
|
-
var tmp0_desc = this.
|
|
1065
|
+
protoOf($serializer_2).hbz = function (encoder, value) {
|
|
1066
|
+
var tmp0_desc = this.gbz_1;
|
|
1067
1067
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
1068
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
1068
|
+
tmp1_output.t2c(tmp0_desc, 0, value.ibz_1);
|
|
1069
1069
|
tmp1_output.k2b(tmp0_desc);
|
|
1070
1070
|
};
|
|
1071
1071
|
protoOf($serializer_2).b28 = function (encoder, value) {
|
|
1072
|
-
return this.
|
|
1072
|
+
return this.hbz(encoder, value instanceof HeadersWanted ? value : THROW_CCE());
|
|
1073
1073
|
};
|
|
1074
1074
|
protoOf($serializer_2).c28 = function (decoder) {
|
|
1075
|
-
var tmp0_desc = this.
|
|
1075
|
+
var tmp0_desc = this.gbz_1;
|
|
1076
1076
|
var tmp1_flag = true;
|
|
1077
1077
|
var tmp2_index = 0;
|
|
1078
1078
|
var tmp3_bitMask0 = 0;
|
|
@@ -1100,7 +1100,7 @@ protoOf($serializer_2).c28 = function (decoder) {
|
|
|
1100
1100
|
return HeadersWanted_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1101
1101
|
};
|
|
1102
1102
|
protoOf($serializer_2).a28 = function () {
|
|
1103
|
-
return this.
|
|
1103
|
+
return this.gbz_1;
|
|
1104
1104
|
};
|
|
1105
1105
|
protoOf($serializer_2).q2j = function () {
|
|
1106
1106
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1116,9 +1116,9 @@ function $serializer_getInstance_3() {
|
|
|
1116
1116
|
}
|
|
1117
1117
|
function HeadersWanted_init_$Init$(seen0, id, serializationConstructorMarker, $this) {
|
|
1118
1118
|
if (!(1 === (1 & seen0))) {
|
|
1119
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().
|
|
1119
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_3().gbz_1);
|
|
1120
1120
|
}
|
|
1121
|
-
$this.
|
|
1121
|
+
$this.ibz_1 = id;
|
|
1122
1122
|
return $this;
|
|
1123
1123
|
}
|
|
1124
1124
|
function HeadersWanted_init_$Create$(seen0, id, serializationConstructorMarker) {
|
|
@@ -1135,20 +1135,20 @@ function $serializer_3() {
|
|
|
1135
1135
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('proved', this, 2);
|
|
1136
1136
|
tmp0_serialDesc.z2i('id', false);
|
|
1137
1137
|
tmp0_serialDesc.z2i('presentation', false);
|
|
1138
|
-
this.
|
|
1138
|
+
this.jbz_1 = tmp0_serialDesc;
|
|
1139
1139
|
}
|
|
1140
|
-
protoOf($serializer_3).
|
|
1141
|
-
var tmp0_desc = this.
|
|
1140
|
+
protoOf($serializer_3).kbz = function (encoder, value) {
|
|
1141
|
+
var tmp0_desc = this.jbz_1;
|
|
1142
1142
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
1143
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
1144
|
-
tmp1_output.y2c(tmp0_desc, 1, value.
|
|
1143
|
+
tmp1_output.t2c(tmp0_desc, 0, value.lbz_1);
|
|
1144
|
+
tmp1_output.y2c(tmp0_desc, 1, value.mbz_1);
|
|
1145
1145
|
tmp1_output.k2b(tmp0_desc);
|
|
1146
1146
|
};
|
|
1147
1147
|
protoOf($serializer_3).b28 = function (encoder, value) {
|
|
1148
|
-
return this.
|
|
1148
|
+
return this.kbz(encoder, value instanceof Proved_0 ? value : THROW_CCE());
|
|
1149
1149
|
};
|
|
1150
1150
|
protoOf($serializer_3).c28 = function (decoder) {
|
|
1151
|
-
var tmp0_desc = this.
|
|
1151
|
+
var tmp0_desc = this.jbz_1;
|
|
1152
1152
|
var tmp1_flag = true;
|
|
1153
1153
|
var tmp2_index = 0;
|
|
1154
1154
|
var tmp3_bitMask0 = 0;
|
|
@@ -1183,7 +1183,7 @@ protoOf($serializer_3).c28 = function (decoder) {
|
|
|
1183
1183
|
return Proved_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1184
1184
|
};
|
|
1185
1185
|
protoOf($serializer_3).a28 = function () {
|
|
1186
|
-
return this.
|
|
1186
|
+
return this.jbz_1;
|
|
1187
1187
|
};
|
|
1188
1188
|
protoOf($serializer_3).q2j = function () {
|
|
1189
1189
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1199,10 +1199,10 @@ function $serializer_getInstance_4() {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
function Proved_init_$Init$(seen0, id, presentation, serializationConstructorMarker, $this) {
|
|
1201
1201
|
if (!(3 === (3 & seen0))) {
|
|
1202
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().
|
|
1202
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_4().jbz_1);
|
|
1203
1203
|
}
|
|
1204
|
-
$this.
|
|
1205
|
-
$this.
|
|
1204
|
+
$this.lbz_1 = id;
|
|
1205
|
+
$this.mbz_1 = presentation;
|
|
1206
1206
|
return $this;
|
|
1207
1207
|
}
|
|
1208
1208
|
function Proved_init_$Create$(seen0, id, presentation, serializationConstructorMarker) {
|
|
@@ -1218,7 +1218,7 @@ function Companion_6() {
|
|
|
1218
1218
|
// Inline function 'kotlin.arrayOf' call
|
|
1219
1219
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1220
1220
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1221
|
-
tmp.
|
|
1221
|
+
tmp.nbz_1 = [null, lazy(tmp_0, FromChild$Failed$Companion$$childSerializers$_anonymous__8w30xx)];
|
|
1222
1222
|
}
|
|
1223
1223
|
var Companion_instance_9;
|
|
1224
1224
|
function Companion_getInstance_9() {
|
|
@@ -1231,28 +1231,28 @@ function $serializer_4() {
|
|
|
1231
1231
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('failed', this, 2);
|
|
1232
1232
|
tmp0_serialDesc.z2i('id', false);
|
|
1233
1233
|
tmp0_serialDesc.z2i('failure', false);
|
|
1234
|
-
this.
|
|
1234
|
+
this.obz_1 = tmp0_serialDesc;
|
|
1235
1235
|
}
|
|
1236
|
-
protoOf($serializer_4).
|
|
1237
|
-
var tmp0_desc = this.
|
|
1236
|
+
protoOf($serializer_4).pbz = function (encoder, value) {
|
|
1237
|
+
var tmp0_desc = this.obz_1;
|
|
1238
1238
|
var tmp1_output = encoder.j2b(tmp0_desc);
|
|
1239
|
-
var tmp2_cached = Companion_getInstance_9().
|
|
1240
|
-
tmp1_output.t2c(tmp0_desc, 0, value.
|
|
1241
|
-
tmp1_output.a2d(tmp0_desc, 1, tmp2_cached[1].p1(), value.
|
|
1239
|
+
var tmp2_cached = Companion_getInstance_9().nbz_1;
|
|
1240
|
+
tmp1_output.t2c(tmp0_desc, 0, value.qbz_1);
|
|
1241
|
+
tmp1_output.a2d(tmp0_desc, 1, tmp2_cached[1].p1(), value.rbz_1);
|
|
1242
1242
|
tmp1_output.k2b(tmp0_desc);
|
|
1243
1243
|
};
|
|
1244
1244
|
protoOf($serializer_4).b28 = function (encoder, value) {
|
|
1245
|
-
return this.
|
|
1245
|
+
return this.pbz(encoder, value instanceof Failed_0 ? value : THROW_CCE());
|
|
1246
1246
|
};
|
|
1247
1247
|
protoOf($serializer_4).c28 = function (decoder) {
|
|
1248
|
-
var tmp0_desc = this.
|
|
1248
|
+
var tmp0_desc = this.obz_1;
|
|
1249
1249
|
var tmp1_flag = true;
|
|
1250
1250
|
var tmp2_index = 0;
|
|
1251
1251
|
var tmp3_bitMask0 = 0;
|
|
1252
1252
|
var tmp4_local0 = 0;
|
|
1253
1253
|
var tmp5_local1 = null;
|
|
1254
1254
|
var tmp6_input = decoder.j2b(tmp0_desc);
|
|
1255
|
-
var tmp7_cached = Companion_getInstance_9().
|
|
1255
|
+
var tmp7_cached = Companion_getInstance_9().nbz_1;
|
|
1256
1256
|
if (tmp6_input.z2b()) {
|
|
1257
1257
|
tmp4_local0 = tmp6_input.o2b(tmp0_desc, 0);
|
|
1258
1258
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1281,10 +1281,10 @@ protoOf($serializer_4).c28 = function (decoder) {
|
|
|
1281
1281
|
return Failed_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1282
1282
|
};
|
|
1283
1283
|
protoOf($serializer_4).a28 = function () {
|
|
1284
|
-
return this.
|
|
1284
|
+
return this.obz_1;
|
|
1285
1285
|
};
|
|
1286
1286
|
protoOf($serializer_4).q2j = function () {
|
|
1287
|
-
var tmp0_cached = Companion_getInstance_9().
|
|
1287
|
+
var tmp0_cached = Companion_getInstance_9().nbz_1;
|
|
1288
1288
|
// Inline function 'kotlin.arrayOf' call
|
|
1289
1289
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1290
1290
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1298,49 +1298,49 @@ function $serializer_getInstance_5() {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
function Failed_init_$Init$(seen0, id, failure, serializationConstructorMarker, $this) {
|
|
1300
1300
|
if (!(3 === (3 & seen0))) {
|
|
1301
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().
|
|
1301
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_5().obz_1);
|
|
1302
1302
|
}
|
|
1303
|
-
$this.
|
|
1304
|
-
$this.
|
|
1303
|
+
$this.qbz_1 = id;
|
|
1304
|
+
$this.rbz_1 = failure;
|
|
1305
1305
|
return $this;
|
|
1306
1306
|
}
|
|
1307
1307
|
function Failed_init_$Create$(seen0, id, failure, serializationConstructorMarker) {
|
|
1308
1308
|
return Failed_init_$Init$(seen0, id, failure, serializationConstructorMarker, objectCreate(protoOf(Failed_0)));
|
|
1309
1309
|
}
|
|
1310
1310
|
function HeadersWanted(id) {
|
|
1311
|
-
this.
|
|
1311
|
+
this.ibz_1 = id;
|
|
1312
1312
|
}
|
|
1313
1313
|
protoOf(HeadersWanted).q6b = function () {
|
|
1314
|
-
return this.
|
|
1314
|
+
return this.ibz_1;
|
|
1315
1315
|
};
|
|
1316
1316
|
protoOf(HeadersWanted).toString = function () {
|
|
1317
|
-
return 'HeadersWanted(id=' + this.
|
|
1317
|
+
return 'HeadersWanted(id=' + this.ibz_1 + ')';
|
|
1318
1318
|
};
|
|
1319
1319
|
protoOf(HeadersWanted).hashCode = function () {
|
|
1320
|
-
return this.
|
|
1320
|
+
return this.ibz_1;
|
|
1321
1321
|
};
|
|
1322
1322
|
protoOf(HeadersWanted).equals = function (other) {
|
|
1323
1323
|
if (this === other)
|
|
1324
1324
|
return true;
|
|
1325
1325
|
if (!(other instanceof HeadersWanted))
|
|
1326
1326
|
return false;
|
|
1327
|
-
if (!(this.
|
|
1327
|
+
if (!(this.ibz_1 === other.ibz_1))
|
|
1328
1328
|
return false;
|
|
1329
1329
|
return true;
|
|
1330
1330
|
};
|
|
1331
1331
|
function Proved_0(id, presentation) {
|
|
1332
|
-
this.
|
|
1333
|
-
this.
|
|
1332
|
+
this.lbz_1 = id;
|
|
1333
|
+
this.mbz_1 = presentation;
|
|
1334
1334
|
}
|
|
1335
1335
|
protoOf(Proved_0).q6b = function () {
|
|
1336
|
-
return this.
|
|
1336
|
+
return this.lbz_1;
|
|
1337
1337
|
};
|
|
1338
1338
|
protoOf(Proved_0).toString = function () {
|
|
1339
|
-
return 'Proved(id=' + this.
|
|
1339
|
+
return 'Proved(id=' + this.lbz_1 + ', presentation=' + this.mbz_1 + ')';
|
|
1340
1340
|
};
|
|
1341
1341
|
protoOf(Proved_0).hashCode = function () {
|
|
1342
|
-
var result = this.
|
|
1343
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1342
|
+
var result = this.lbz_1;
|
|
1343
|
+
result = imul(result, 31) + getStringHashCode(this.mbz_1) | 0;
|
|
1344
1344
|
return result;
|
|
1345
1345
|
};
|
|
1346
1346
|
protoOf(Proved_0).equals = function (other) {
|
|
@@ -1348,26 +1348,26 @@ protoOf(Proved_0).equals = function (other) {
|
|
|
1348
1348
|
return true;
|
|
1349
1349
|
if (!(other instanceof Proved_0))
|
|
1350
1350
|
return false;
|
|
1351
|
-
if (!(this.
|
|
1351
|
+
if (!(this.lbz_1 === other.lbz_1))
|
|
1352
1352
|
return false;
|
|
1353
|
-
if (!(this.
|
|
1353
|
+
if (!(this.mbz_1 === other.mbz_1))
|
|
1354
1354
|
return false;
|
|
1355
1355
|
return true;
|
|
1356
1356
|
};
|
|
1357
1357
|
function Failed_0(id, failure) {
|
|
1358
1358
|
Companion_getInstance_9();
|
|
1359
|
-
this.
|
|
1360
|
-
this.
|
|
1359
|
+
this.qbz_1 = id;
|
|
1360
|
+
this.rbz_1 = failure;
|
|
1361
1361
|
}
|
|
1362
1362
|
protoOf(Failed_0).q6b = function () {
|
|
1363
|
-
return this.
|
|
1363
|
+
return this.qbz_1;
|
|
1364
1364
|
};
|
|
1365
1365
|
protoOf(Failed_0).toString = function () {
|
|
1366
|
-
return 'Failed(id=' + this.
|
|
1366
|
+
return 'Failed(id=' + this.qbz_1 + ', failure=' + toString_0(this.rbz_1) + ')';
|
|
1367
1367
|
};
|
|
1368
1368
|
protoOf(Failed_0).hashCode = function () {
|
|
1369
|
-
var result = this.
|
|
1370
|
-
result = imul(result, 31) + hashCode(this.
|
|
1369
|
+
var result = this.qbz_1;
|
|
1370
|
+
result = imul(result, 31) + hashCode(this.rbz_1) | 0;
|
|
1371
1371
|
return result;
|
|
1372
1372
|
};
|
|
1373
1373
|
protoOf(Failed_0).equals = function (other) {
|
|
@@ -1375,9 +1375,9 @@ protoOf(Failed_0).equals = function (other) {
|
|
|
1375
1375
|
return true;
|
|
1376
1376
|
if (!(other instanceof Failed_0))
|
|
1377
1377
|
return false;
|
|
1378
|
-
if (!(this.
|
|
1378
|
+
if (!(this.qbz_1 === other.qbz_1))
|
|
1379
1379
|
return false;
|
|
1380
|
-
if (!equals(this.
|
|
1380
|
+
if (!equals(this.rbz_1, other.rbz_1))
|
|
1381
1381
|
return false;
|
|
1382
1382
|
return true;
|
|
1383
1383
|
};
|
|
@@ -1410,12 +1410,12 @@ function FromChild() {
|
|
|
1410
1410
|
}
|
|
1411
1411
|
function ProverOutput() {
|
|
1412
1412
|
ProverOutput_instance = this;
|
|
1413
|
-
this.
|
|
1414
|
-
this.
|
|
1413
|
+
this.ibx_1 = NetworkRedaction_getInstance().m66('access_token');
|
|
1414
|
+
this.jbx_1 = 2000;
|
|
1415
1415
|
}
|
|
1416
1416
|
protoOf(ProverOutput).l76 = function (line) {
|
|
1417
1417
|
// Inline function 'kotlin.text.orEmpty' call
|
|
1418
|
-
var tmp0_elvis_lhs = NetworkRedaction_getInstance().l66(TradingApiSignature_getInstance().l76(line), this.
|
|
1418
|
+
var tmp0_elvis_lhs = NetworkRedaction_getInstance().l66(TradingApiSignature_getInstance().l76(line), this.ibx_1, 2000);
|
|
1419
1419
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1420
1420
|
};
|
|
1421
1421
|
var ProverOutput_instance;
|
|
@@ -1435,19 +1435,19 @@ function runProverChild() {
|
|
|
1435
1435
|
}
|
|
1436
1436
|
function headlessVersion() {
|
|
1437
1437
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1438
|
-
return '1.0
|
|
1438
|
+
return '1.1.0-beta';
|
|
1439
1439
|
}
|
|
1440
1440
|
function createHeadlessTracker(options) {
|
|
1441
1441
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1442
|
-
return create(Companion_getInstance_11().
|
|
1442
|
+
return create(Companion_getInstance_11().ubz(options), null, null, null);
|
|
1443
1443
|
}
|
|
1444
1444
|
function start(handle) {
|
|
1445
1445
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1446
1446
|
var entry = entryOf(handle);
|
|
1447
|
-
if (entry.
|
|
1447
|
+
if (entry.ybz_1)
|
|
1448
1448
|
return Unit_instance;
|
|
1449
|
-
entry.
|
|
1450
|
-
entry.
|
|
1449
|
+
entry.ybz_1 = true;
|
|
1450
|
+
entry.vbz_1.vb8();
|
|
1451
1451
|
}
|
|
1452
1452
|
function cycle(handle) {
|
|
1453
1453
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
@@ -1463,15 +1463,15 @@ function stop(handle) {
|
|
|
1463
1463
|
tmp = tmp0_elvis_lhs;
|
|
1464
1464
|
}
|
|
1465
1465
|
var entry = tmp;
|
|
1466
|
-
if (!entry.
|
|
1467
|
-
entry.
|
|
1468
|
-
var tmp1_safe_receiver = entry.
|
|
1466
|
+
if (!entry.zbz_1) {
|
|
1467
|
+
entry.zbz_1 = true;
|
|
1468
|
+
var tmp1_safe_receiver = entry.xbz_1;
|
|
1469
1469
|
if (tmp1_safe_receiver == null)
|
|
1470
1470
|
null;
|
|
1471
1471
|
else {
|
|
1472
1472
|
tmp1_safe_receiver.h4();
|
|
1473
1473
|
}
|
|
1474
|
-
cancel(entry.
|
|
1474
|
+
cancel(entry.wbz_1);
|
|
1475
1475
|
}
|
|
1476
1476
|
return Promise.resolve(Unit_instance);
|
|
1477
1477
|
}
|
|
@@ -1490,55 +1490,53 @@ function pushSteamToken(handle, accessToken) {
|
|
|
1490
1490
|
}
|
|
1491
1491
|
function trackerState(handle) {
|
|
1492
1492
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1493
|
-
return toJs_1(entryOf(handle).
|
|
1493
|
+
return toJs_1(entryOf(handle).vbz_1.yb7());
|
|
1494
1494
|
}
|
|
1495
1495
|
function create(options, httpEngine, background, proverPackageRoot) {
|
|
1496
1496
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1497
|
-
var tmp0_elvis_lhs = options.
|
|
1497
|
+
var tmp0_elvis_lhs = options.jc0();
|
|
1498
1498
|
var clock = tmp0_elvis_lhs == null ? new SystemClock() : tmp0_elvis_lhs;
|
|
1499
|
-
var tmp1_safe_receiver = options.
|
|
1499
|
+
var tmp1_safe_receiver = options.gc0_1;
|
|
1500
1500
|
var tmp;
|
|
1501
1501
|
if (tmp1_safe_receiver == null) {
|
|
1502
1502
|
tmp = null;
|
|
1503
1503
|
} else {
|
|
1504
1504
|
// Inline function 'kotlin.let' call
|
|
1505
|
-
tmp = proofHost(options, tmp1_safe_receiver, Companion_instance_12.
|
|
1505
|
+
tmp = proofHost(options, tmp1_safe_receiver, Companion_instance_12.tc0(proverPackageRoot, tmp1_safe_receiver.oc0_1), clock);
|
|
1506
1506
|
}
|
|
1507
1507
|
var proofHost_0 = tmp;
|
|
1508
1508
|
var scope = CoroutineScope(SupervisorJob().gj(Dispatchers_getInstance().y18_1));
|
|
1509
|
-
var accounts = new AccountDirectories(options.
|
|
1509
|
+
var accounts = new AccountDirectories(options.ac0_1);
|
|
1510
1510
|
var tmp_0 = create$lambda(accounts);
|
|
1511
|
-
var tmp2_elvis_lhs = options.
|
|
1511
|
+
var tmp2_elvis_lhs = options.uc0();
|
|
1512
1512
|
var tmp_1 = tmp2_elvis_lhs == null ? NoOpEventObserver_instance : tmp2_elvis_lhs;
|
|
1513
1513
|
var tmp_2;
|
|
1514
1514
|
if (proofHost_0 == null) {
|
|
1515
1515
|
tmp_2 = null;
|
|
1516
1516
|
} else {
|
|
1517
1517
|
// Inline function 'kotlin.let' call
|
|
1518
|
-
|
|
1519
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.jc0_1;
|
|
1520
|
-
tmp_2 = new HeadlessProving(proofHost_0, tmp1_elvis_lhs == null ? 1 : tmp1_elvis_lhs);
|
|
1518
|
+
tmp_2 = new HeadlessProving(proofHost_0, options.gc0_1.lc0_1);
|
|
1521
1519
|
}
|
|
1522
1520
|
var platform = new HeadlessPlatform(tmp_0, clock, tmp_1, httpEngine, VOID, tmp_2);
|
|
1523
1521
|
var tmp_3 = background == null ? scope : background;
|
|
1524
1522
|
// Inline function 'kotlin.let' call
|
|
1525
1523
|
var it = Companion_instance_1.defaults();
|
|
1526
|
-
var tmp$ret$4 = it.copy(VOID, VOID, VOID, VOID, VOID, it.notary.copy(VOID, options.
|
|
1527
|
-
var tracker = new HeadlessTracker(platform, tmp_3, options.
|
|
1524
|
+
var tmp$ret$4 = it.copy(VOID, VOID, VOID, VOID, VOID, it.notary.copy(VOID, options.dc0_1));
|
|
1525
|
+
var tracker = new HeadlessTracker(platform, tmp_3, options.bc0_1, tmp$ret$4, options.cc0_1);
|
|
1528
1526
|
var handle = Object.freeze(Object.create(null));
|
|
1529
1527
|
get_trackers().set(handle, new TrackerEntry(tracker, scope, proofHost_0));
|
|
1530
1528
|
return handle;
|
|
1531
1529
|
}
|
|
1532
1530
|
function proofHost(options, prover, files, clock) {
|
|
1533
1531
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
1534
|
-
var onLine = options.
|
|
1535
|
-
var onOutcome = options.
|
|
1532
|
+
var onLine = options.ic0_1;
|
|
1533
|
+
var onOutcome = options.hc0_1;
|
|
1536
1534
|
var tmp = emptyList();
|
|
1537
|
-
var tmp_0 = new ProverSettings(options.
|
|
1538
|
-
var tmp_1 = new ProverLimits(prover.
|
|
1535
|
+
var tmp_0 = new ProverSettings(options.dc0_1, prover.nc0_1, files.wc0_1);
|
|
1536
|
+
var tmp_1 = new ProverLimits(prover.pc0_1, prover.qc0_1, prover.mc0_1);
|
|
1539
1537
|
var tmp_2 = proofHost$lambda(onLine);
|
|
1540
1538
|
var tmp_3 = proofHost$lambda_0(onLine);
|
|
1541
|
-
return new ForkedProofHost(files.
|
|
1539
|
+
return new ForkedProofHost(files.vc0_1, tmp, tmp_0, clock, tmp_1, VOID, VOID, tmp_2, tmp_3, proofHost$lambda_1(onOutcome));
|
|
1542
1540
|
}
|
|
1543
1541
|
function proofOutcome(dealId, failure) {
|
|
1544
1542
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
@@ -1549,17 +1547,17 @@ function proofOutcome(dealId, failure) {
|
|
|
1549
1547
|
tmp = null;
|
|
1550
1548
|
} else {
|
|
1551
1549
|
// Inline function 'kotlin.let' call
|
|
1552
|
-
tmp = JSON.parse(ProofOutcomeJson_getInstance().
|
|
1550
|
+
tmp = JSON.parse(ProofOutcomeJson_getInstance().lbx(failure));
|
|
1553
1551
|
}
|
|
1554
1552
|
o.failure = tmp;
|
|
1555
1553
|
return o;
|
|
1556
1554
|
}
|
|
1557
1555
|
function TrackerEntry(tracker, scope, proofHost) {
|
|
1558
|
-
this.
|
|
1559
|
-
this.
|
|
1560
|
-
this.
|
|
1561
|
-
this.
|
|
1562
|
-
this.
|
|
1556
|
+
this.vbz_1 = tracker;
|
|
1557
|
+
this.wbz_1 = scope;
|
|
1558
|
+
this.xbz_1 = proofHost;
|
|
1559
|
+
this.ybz_1 = false;
|
|
1560
|
+
this.zbz_1 = false;
|
|
1563
1561
|
}
|
|
1564
1562
|
function lookup(handle) {
|
|
1565
1563
|
_init_properties_HeadlessApi_kt__cjiogh();
|
|
@@ -1576,7 +1574,7 @@ function entryOf(handle) {
|
|
|
1576
1574
|
}
|
|
1577
1575
|
var entry = tmp;
|
|
1578
1576
|
// Inline function 'kotlin.check' call
|
|
1579
|
-
if (!!entry.
|
|
1577
|
+
if (!!entry.zbz_1) {
|
|
1580
1578
|
var message = 'tracker stopped';
|
|
1581
1579
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
1582
1580
|
}
|
|
@@ -1603,19 +1601,19 @@ function call(handle, block) {
|
|
|
1603
1601
|
}
|
|
1604
1602
|
}
|
|
1605
1603
|
var entry = tmp;
|
|
1606
|
-
return promise_0(entry.
|
|
1604
|
+
return promise_0(entry.wbz_1, VOID, VOID, call$slambda_0(block, entry, null));
|
|
1607
1605
|
}
|
|
1608
1606
|
function cycle$slambda(resultContinuation) {
|
|
1609
1607
|
CoroutineImpl.call(this, resultContinuation);
|
|
1610
1608
|
}
|
|
1611
|
-
protoOf(cycle$slambda).
|
|
1612
|
-
var tmp = this.
|
|
1609
|
+
protoOf(cycle$slambda).gc1 = function ($this$call, $completion) {
|
|
1610
|
+
var tmp = this.hc1($this$call, $completion);
|
|
1613
1611
|
tmp.i9_1 = Unit_instance;
|
|
1614
1612
|
tmp.j9_1 = null;
|
|
1615
1613
|
return tmp.o9();
|
|
1616
1614
|
};
|
|
1617
1615
|
protoOf(cycle$slambda).ba = function (p1, $completion) {
|
|
1618
|
-
return this.
|
|
1616
|
+
return this.gc1(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
|
|
1619
1617
|
};
|
|
1620
1618
|
protoOf(cycle$slambda).o9 = function () {
|
|
1621
1619
|
var suspendResult = this.i9_1;
|
|
@@ -1626,7 +1624,7 @@ protoOf(cycle$slambda).o9 = function () {
|
|
|
1626
1624
|
case 0:
|
|
1627
1625
|
this.h9_1 = 2;
|
|
1628
1626
|
this.g9_1 = 1;
|
|
1629
|
-
suspendResult = this.
|
|
1627
|
+
suspendResult = this.fc1_1.vbz_1.pb3(this);
|
|
1630
1628
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1631
1629
|
return suspendResult;
|
|
1632
1630
|
}
|
|
@@ -1648,30 +1646,30 @@ protoOf(cycle$slambda).o9 = function () {
|
|
|
1648
1646
|
}
|
|
1649
1647
|
while (true);
|
|
1650
1648
|
};
|
|
1651
|
-
protoOf(cycle$slambda).
|
|
1649
|
+
protoOf(cycle$slambda).hc1 = function ($this$call, completion) {
|
|
1652
1650
|
var i = new cycle$slambda(completion);
|
|
1653
|
-
i.
|
|
1651
|
+
i.fc1_1 = $this$call;
|
|
1654
1652
|
return i;
|
|
1655
1653
|
};
|
|
1656
1654
|
function cycle$slambda_0(resultContinuation) {
|
|
1657
1655
|
var i = new cycle$slambda(resultContinuation);
|
|
1658
1656
|
return constructCallableReference(function ($this$call, $completion) {
|
|
1659
|
-
return i.
|
|
1657
|
+
return i.gc1($this$call, $completion);
|
|
1660
1658
|
}, 1);
|
|
1661
1659
|
}
|
|
1662
1660
|
function pushTradingApiKey$slambda($publicKey, $secretKey, resultContinuation) {
|
|
1663
|
-
this.
|
|
1664
|
-
this.
|
|
1661
|
+
this.qc1_1 = $publicKey;
|
|
1662
|
+
this.rc1_1 = $secretKey;
|
|
1665
1663
|
CoroutineImpl.call(this, resultContinuation);
|
|
1666
1664
|
}
|
|
1667
|
-
protoOf(pushTradingApiKey$slambda).
|
|
1668
|
-
var tmp = this.
|
|
1665
|
+
protoOf(pushTradingApiKey$slambda).tc1 = function ($this$call, $completion) {
|
|
1666
|
+
var tmp = this.hc1($this$call, $completion);
|
|
1669
1667
|
tmp.i9_1 = Unit_instance;
|
|
1670
1668
|
tmp.j9_1 = null;
|
|
1671
1669
|
return tmp.o9();
|
|
1672
1670
|
};
|
|
1673
1671
|
protoOf(pushTradingApiKey$slambda).ba = function (p1, $completion) {
|
|
1674
|
-
return this.
|
|
1672
|
+
return this.tc1(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
|
|
1675
1673
|
};
|
|
1676
1674
|
protoOf(pushTradingApiKey$slambda).o9 = function () {
|
|
1677
1675
|
var suspendResult = this.i9_1;
|
|
@@ -1682,7 +1680,7 @@ protoOf(pushTradingApiKey$slambda).o9 = function () {
|
|
|
1682
1680
|
case 0:
|
|
1683
1681
|
this.h9_1 = 2;
|
|
1684
1682
|
this.g9_1 = 1;
|
|
1685
|
-
suspendResult = this.
|
|
1683
|
+
suspendResult = this.sc1_1.vbz_1.wb8(this.qc1_1, this.rc1_1, this);
|
|
1686
1684
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1687
1685
|
return suspendResult;
|
|
1688
1686
|
}
|
|
@@ -1698,11 +1696,11 @@ protoOf(pushTradingApiKey$slambda).o9 = function () {
|
|
|
1698
1696
|
}
|
|
1699
1697
|
|
|
1700
1698
|
if (tmp_0) {
|
|
1701
|
-
var tmp0_safe_receiver = this.
|
|
1699
|
+
var tmp0_safe_receiver = this.sc1_1.xbz_1;
|
|
1702
1700
|
if (tmp0_safe_receiver == null)
|
|
1703
1701
|
null;
|
|
1704
1702
|
else {
|
|
1705
|
-
tmp0_safe_receiver.
|
|
1703
|
+
tmp0_safe_receiver.dby();
|
|
1706
1704
|
}
|
|
1707
1705
|
}
|
|
1708
1706
|
|
|
@@ -1721,29 +1719,29 @@ protoOf(pushTradingApiKey$slambda).o9 = function () {
|
|
|
1721
1719
|
}
|
|
1722
1720
|
while (true);
|
|
1723
1721
|
};
|
|
1724
|
-
protoOf(pushTradingApiKey$slambda).
|
|
1725
|
-
var i = new pushTradingApiKey$slambda(this.
|
|
1726
|
-
i.
|
|
1722
|
+
protoOf(pushTradingApiKey$slambda).hc1 = function ($this$call, completion) {
|
|
1723
|
+
var i = new pushTradingApiKey$slambda(this.qc1_1, this.rc1_1, completion);
|
|
1724
|
+
i.sc1_1 = $this$call;
|
|
1727
1725
|
return i;
|
|
1728
1726
|
};
|
|
1729
1727
|
function pushTradingApiKey$slambda_0($publicKey, $secretKey, resultContinuation) {
|
|
1730
1728
|
var i = new pushTradingApiKey$slambda($publicKey, $secretKey, resultContinuation);
|
|
1731
1729
|
return constructCallableReference(function ($this$call, $completion) {
|
|
1732
|
-
return i.
|
|
1730
|
+
return i.tc1($this$call, $completion);
|
|
1733
1731
|
}, 1);
|
|
1734
1732
|
}
|
|
1735
1733
|
function pushSteamToken$slambda($accessToken, resultContinuation) {
|
|
1736
|
-
this.
|
|
1734
|
+
this.cc2_1 = $accessToken;
|
|
1737
1735
|
CoroutineImpl.call(this, resultContinuation);
|
|
1738
1736
|
}
|
|
1739
|
-
protoOf(pushSteamToken$slambda).
|
|
1740
|
-
var tmp = this.
|
|
1737
|
+
protoOf(pushSteamToken$slambda).tc1 = function ($this$call, $completion) {
|
|
1738
|
+
var tmp = this.hc1($this$call, $completion);
|
|
1741
1739
|
tmp.i9_1 = Unit_instance;
|
|
1742
1740
|
tmp.j9_1 = null;
|
|
1743
1741
|
return tmp.o9();
|
|
1744
1742
|
};
|
|
1745
1743
|
protoOf(pushSteamToken$slambda).ba = function (p1, $completion) {
|
|
1746
|
-
return this.
|
|
1744
|
+
return this.tc1(p1 instanceof TrackerEntry ? p1 : THROW_CCE(), $completion);
|
|
1747
1745
|
};
|
|
1748
1746
|
protoOf(pushSteamToken$slambda).o9 = function () {
|
|
1749
1747
|
var suspendResult = this.i9_1;
|
|
@@ -1754,7 +1752,7 @@ protoOf(pushSteamToken$slambda).o9 = function () {
|
|
|
1754
1752
|
case 0:
|
|
1755
1753
|
this.h9_1 = 2;
|
|
1756
1754
|
this.g9_1 = 1;
|
|
1757
|
-
suspendResult = this.
|
|
1755
|
+
suspendResult = this.dc2_1.vbz_1.xb8(this.cc2_1, this);
|
|
1758
1756
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1759
1757
|
return suspendResult;
|
|
1760
1758
|
}
|
|
@@ -1777,20 +1775,20 @@ protoOf(pushSteamToken$slambda).o9 = function () {
|
|
|
1777
1775
|
}
|
|
1778
1776
|
while (true);
|
|
1779
1777
|
};
|
|
1780
|
-
protoOf(pushSteamToken$slambda).
|
|
1781
|
-
var i = new pushSteamToken$slambda(this.
|
|
1782
|
-
i.
|
|
1778
|
+
protoOf(pushSteamToken$slambda).hc1 = function ($this$call, completion) {
|
|
1779
|
+
var i = new pushSteamToken$slambda(this.cc2_1, completion);
|
|
1780
|
+
i.dc2_1 = $this$call;
|
|
1783
1781
|
return i;
|
|
1784
1782
|
};
|
|
1785
1783
|
function pushSteamToken$slambda_0($accessToken, resultContinuation) {
|
|
1786
1784
|
var i = new pushSteamToken$slambda($accessToken, resultContinuation);
|
|
1787
1785
|
return constructCallableReference(function ($this$call, $completion) {
|
|
1788
|
-
return i.
|
|
1786
|
+
return i.tc1($this$call, $completion);
|
|
1789
1787
|
}, 1);
|
|
1790
1788
|
}
|
|
1791
1789
|
function create$lambda($accounts) {
|
|
1792
1790
|
return function (it) {
|
|
1793
|
-
return $accounts.
|
|
1791
|
+
return $accounts.gc2(_SteamId___get_value__impl__qjh21u(it.p5w_1));
|
|
1794
1792
|
};
|
|
1795
1793
|
}
|
|
1796
1794
|
function proofHost$lambda($onLine) {
|
|
@@ -1831,7 +1829,7 @@ function proofHost$lambda_0($onLine) {
|
|
|
1831
1829
|
// Inline function 'kotlin.runCatching' call
|
|
1832
1830
|
var tmp;
|
|
1833
1831
|
try {
|
|
1834
|
-
tmp0_safe_receiver('host', ProofOutcomeJson_getInstance().
|
|
1832
|
+
tmp0_safe_receiver('host', ProofOutcomeJson_getInstance().mbx(message, warning, fields));
|
|
1835
1833
|
// Inline function 'kotlin.Companion.success' call
|
|
1836
1834
|
tmp = _Result___init__impl__xyqfz8(Unit_instance);
|
|
1837
1835
|
} catch ($p) {
|
|
@@ -1878,18 +1876,18 @@ function proofHost$lambda_1($onOutcome) {
|
|
|
1878
1876
|
};
|
|
1879
1877
|
}
|
|
1880
1878
|
function call$slambda($block, $entry, resultContinuation) {
|
|
1881
|
-
this.
|
|
1882
|
-
this.
|
|
1879
|
+
this.pc2_1 = $block;
|
|
1880
|
+
this.qc2_1 = $entry;
|
|
1883
1881
|
CoroutineImpl.call(this, resultContinuation);
|
|
1884
1882
|
}
|
|
1885
|
-
protoOf(call$slambda).
|
|
1883
|
+
protoOf(call$slambda).sc2 = function ($this$promise, $completion) {
|
|
1886
1884
|
var tmp = this.l1n($this$promise, $completion);
|
|
1887
1885
|
tmp.i9_1 = Unit_instance;
|
|
1888
1886
|
tmp.j9_1 = null;
|
|
1889
1887
|
return tmp.o9();
|
|
1890
1888
|
};
|
|
1891
1889
|
protoOf(call$slambda).ba = function (p1, $completion) {
|
|
1892
|
-
return this.
|
|
1890
|
+
return this.sc2((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
|
|
1893
1891
|
};
|
|
1894
1892
|
protoOf(call$slambda).o9 = function () {
|
|
1895
1893
|
var suspendResult = this.i9_1;
|
|
@@ -1900,7 +1898,7 @@ protoOf(call$slambda).o9 = function () {
|
|
|
1900
1898
|
case 0:
|
|
1901
1899
|
this.h9_1 = 2;
|
|
1902
1900
|
this.g9_1 = 1;
|
|
1903
|
-
suspendResult = this.
|
|
1901
|
+
suspendResult = this.pc2_1(this.qc2_1, this);
|
|
1904
1902
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1905
1903
|
return suspendResult;
|
|
1906
1904
|
}
|
|
@@ -1923,14 +1921,14 @@ protoOf(call$slambda).o9 = function () {
|
|
|
1923
1921
|
while (true);
|
|
1924
1922
|
};
|
|
1925
1923
|
protoOf(call$slambda).l1n = function ($this$promise, completion) {
|
|
1926
|
-
var i = new call$slambda(this.
|
|
1927
|
-
i.
|
|
1924
|
+
var i = new call$slambda(this.pc2_1, this.qc2_1, completion);
|
|
1925
|
+
i.rc2_1 = $this$promise;
|
|
1928
1926
|
return i;
|
|
1929
1927
|
};
|
|
1930
1928
|
function call$slambda_0($block, $entry, resultContinuation) {
|
|
1931
1929
|
var i = new call$slambda($block, $entry, resultContinuation);
|
|
1932
1930
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
1933
|
-
return i.
|
|
1931
|
+
return i.sc2($this$promise, $completion);
|
|
1934
1932
|
}, 1);
|
|
1935
1933
|
}
|
|
1936
1934
|
var properties_initialized_HeadlessApi_kt_422n3l;
|
|
@@ -1973,11 +1971,11 @@ function steamNotLinkedCode() {
|
|
|
1973
1971
|
}
|
|
1974
1972
|
function minWriteTokenLifetimeMs() {
|
|
1975
1973
|
_init_properties_HeadlessConstants_kt__7kny8s();
|
|
1976
|
-
return toNumber(_Duration___get_inWholeMilliseconds__impl__msfiry(Companion_getInstance_1().
|
|
1974
|
+
return toNumber(_Duration___get_inWholeMilliseconds__impl__msfiry(Companion_getInstance_1().qb3_1));
|
|
1977
1975
|
}
|
|
1978
1976
|
function maxClockSkewMs() {
|
|
1979
1977
|
_init_properties_HeadlessConstants_kt__7kny8s();
|
|
1980
|
-
return toNumber(_Duration___get_inWholeMilliseconds__impl__msfiry(Companion_getInstance_1().
|
|
1978
|
+
return toNumber(_Duration___get_inWholeMilliseconds__impl__msfiry(Companion_getInstance_1().ub3_1));
|
|
1981
1979
|
}
|
|
1982
1980
|
function defaultNotaryUrl() {
|
|
1983
1981
|
_init_properties_HeadlessConstants_kt__7kny8s();
|
|
@@ -2075,20 +2073,20 @@ function _init_properties_HeadlessConstants_kt__7kny8s() {
|
|
|
2075
2073
|
}
|
|
2076
2074
|
}
|
|
2077
2075
|
function safeName($this, key) {
|
|
2078
|
-
return $this.
|
|
2076
|
+
return $this.tbz_1.od(key) ? key : '(a key that is not an option name)';
|
|
2079
2077
|
}
|
|
2080
2078
|
function Companion_8() {
|
|
2081
2079
|
Companion_instance_11 = this;
|
|
2082
|
-
this.
|
|
2083
|
-
this.
|
|
2080
|
+
this.sbz_1 = setOf(['dataDir', 'baseUrl', 'steamWrites', 'notaryUrl', 'onEvent', 'nowMs', 'prover', 'onProofOutcome', 'onProverLine']);
|
|
2081
|
+
this.tbz_1 = Regex_init_$Create$('^[A-Za-z][A-Za-z0-9]{0,39}$');
|
|
2084
2082
|
}
|
|
2085
|
-
protoOf(Companion_8).
|
|
2083
|
+
protoOf(Companion_8).ubz = function (options) {
|
|
2086
2084
|
// Inline function 'kotlin.require' call
|
|
2087
2085
|
if (!(typeof options === 'object' && options != null)) {
|
|
2088
2086
|
var message = 'options must be an object';
|
|
2089
2087
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2090
2088
|
}
|
|
2091
|
-
this.
|
|
2089
|
+
this.tc2(options, this.sbz_1, '');
|
|
2092
2090
|
var dataDir = options.dataDir;
|
|
2093
2091
|
var tmp;
|
|
2094
2092
|
if (typeof dataDir === 'string') {
|
|
@@ -2103,32 +2101,32 @@ protoOf(Companion_8).sbz = function (options) {
|
|
|
2103
2101
|
var message_0 = 'dataDir must be a non-empty string';
|
|
2104
2102
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
2105
2103
|
}
|
|
2106
|
-
var tmp0_elvis_lhs = this.
|
|
2104
|
+
var tmp0_elvis_lhs = this.uc2(options.baseUrl, 'baseUrl', 'string');
|
|
2107
2105
|
var baseUrl = tmp0_elvis_lhs == null ? 'https://api.dmarket.com' : tmp0_elvis_lhs;
|
|
2108
2106
|
// Inline function 'kotlin.require' call
|
|
2109
2107
|
if (!(startsWith(baseUrl, 'https://') || startsWith(baseUrl, 'http://'))) {
|
|
2110
2108
|
var message_1 = 'baseUrl must be an http:// or https:// URL';
|
|
2111
2109
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
2112
2110
|
}
|
|
2113
|
-
var tmp1_elvis_lhs = this.
|
|
2111
|
+
var tmp1_elvis_lhs = this.uc2(options.notaryUrl, 'notaryUrl', 'string');
|
|
2114
2112
|
var notaryUrl = tmp1_elvis_lhs == null ? 'wss://api.dmarket.com/provenance/v1/' : tmp1_elvis_lhs;
|
|
2115
2113
|
// Inline function 'kotlin.require' call
|
|
2116
2114
|
if (!(startsWith(notaryUrl, 'wss://') || startsWith(notaryUrl, 'ws://'))) {
|
|
2117
2115
|
var message_2 = 'notaryUrl must be a ws:// or wss:// URL';
|
|
2118
2116
|
throw IllegalArgumentException_init_$Create$(toString_0(message_2));
|
|
2119
2117
|
}
|
|
2120
|
-
var tmp2_elvis_lhs = this.
|
|
2118
|
+
var tmp2_elvis_lhs = this.uc2(options.steamWrites, 'steamWrites', 'boolean');
|
|
2121
2119
|
var steamWrites = tmp2_elvis_lhs == null ? true : tmp2_elvis_lhs;
|
|
2122
|
-
var onEvent = this.
|
|
2123
|
-
var nowMs = this.
|
|
2124
|
-
var proverOption = this.
|
|
2125
|
-
var prover = proverOption != null ? Companion_getInstance_13().
|
|
2126
|
-
var onProofOutcome = this.
|
|
2127
|
-
var onProverLine = this.
|
|
2128
|
-
var tmp4_elvis_lhs = prover == null ? null : prover.
|
|
2120
|
+
var onEvent = this.uc2(options.onEvent, 'onEvent', 'function');
|
|
2121
|
+
var nowMs = this.uc2(options.nowMs, 'nowMs', 'function');
|
|
2122
|
+
var proverOption = this.uc2(options.prover, 'prover', 'object');
|
|
2123
|
+
var prover = proverOption != null ? Companion_getInstance_13().ubz(proverOption) : null;
|
|
2124
|
+
var onProofOutcome = this.uc2(options.onProofOutcome, 'onProofOutcome', 'function');
|
|
2125
|
+
var onProverLine = this.uc2(options.onProverLine, 'onProverLine', 'function');
|
|
2126
|
+
var tmp4_elvis_lhs = prover == null ? null : prover.kc0_1;
|
|
2129
2127
|
return new HeadlessOptions(dataDir, baseUrl, steamWrites, tmp4_elvis_lhs == null ? notaryUrl : tmp4_elvis_lhs, onEvent, nowMs, prover, onProofOutcome, onProverLine);
|
|
2130
2128
|
};
|
|
2131
|
-
protoOf(Companion_8).
|
|
2129
|
+
protoOf(Companion_8).tc2 = function (o, known, prefix) {
|
|
2132
2130
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2133
2131
|
var keys = Object.keys(o);
|
|
2134
2132
|
var tmp$ret$1;
|
|
@@ -2154,7 +2152,7 @@ protoOf(Companion_8).rc2 = function (o, known, prefix) {
|
|
|
2154
2152
|
throw IllegalArgumentException_init_$Create$('unknown option: ' + prefix + safeName(Companion_getInstance_11(), tmp0_safe_receiver));
|
|
2155
2153
|
}
|
|
2156
2154
|
};
|
|
2157
|
-
protoOf(Companion_8).
|
|
2155
|
+
protoOf(Companion_8).uc2 = function (value, name, type) {
|
|
2158
2156
|
if (value == null)
|
|
2159
2157
|
return null;
|
|
2160
2158
|
// Inline function 'kotlin.require' call
|
|
@@ -2172,31 +2170,31 @@ function Companion_getInstance_11() {
|
|
|
2172
2170
|
return Companion_instance_11;
|
|
2173
2171
|
}
|
|
2174
2172
|
function HeadlessOptions$clock$1($now) {
|
|
2175
|
-
this.
|
|
2173
|
+
this.xc2_1 = $now;
|
|
2176
2174
|
}
|
|
2177
2175
|
protoOf(HeadlessOptions$clock$1).fo = function () {
|
|
2178
|
-
return Companion_getInstance_0().bf(numberToLong(this.
|
|
2176
|
+
return Companion_getInstance_0().bf(numberToLong(this.xc2_1()));
|
|
2179
2177
|
};
|
|
2180
2178
|
function HeadlessOptions$eventObserver$1($callback) {
|
|
2181
|
-
this.
|
|
2179
|
+
this.yc2_1 = $callback;
|
|
2182
2180
|
}
|
|
2183
2181
|
protoOf(HeadlessOptions$eventObserver$1).x6a = function (event, $completion) {
|
|
2184
|
-
return this.
|
|
2182
|
+
return this.yc2_1(toWireJson(event));
|
|
2185
2183
|
};
|
|
2186
2184
|
function HeadlessOptions(dataDir, baseUrl, steamWrites, notaryUrl, onEvent, nowMs, prover, onProofOutcome, onProverLine) {
|
|
2187
2185
|
Companion_getInstance_11();
|
|
2188
|
-
this.
|
|
2189
|
-
this.
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
2192
|
-
this.
|
|
2193
|
-
this.
|
|
2194
|
-
this.
|
|
2195
|
-
this.
|
|
2196
|
-
this.
|
|
2197
|
-
}
|
|
2198
|
-
protoOf(HeadlessOptions).
|
|
2199
|
-
var tmp0_safe_receiver = this.
|
|
2186
|
+
this.ac0_1 = dataDir;
|
|
2187
|
+
this.bc0_1 = baseUrl;
|
|
2188
|
+
this.cc0_1 = steamWrites;
|
|
2189
|
+
this.dc0_1 = notaryUrl;
|
|
2190
|
+
this.ec0_1 = onEvent;
|
|
2191
|
+
this.fc0_1 = nowMs;
|
|
2192
|
+
this.gc0_1 = prover;
|
|
2193
|
+
this.hc0_1 = onProofOutcome;
|
|
2194
|
+
this.ic0_1 = onProverLine;
|
|
2195
|
+
}
|
|
2196
|
+
protoOf(HeadlessOptions).jc0 = function () {
|
|
2197
|
+
var tmp0_safe_receiver = this.fc0_1;
|
|
2200
2198
|
var tmp;
|
|
2201
2199
|
if (tmp0_safe_receiver == null) {
|
|
2202
2200
|
tmp = null;
|
|
@@ -2206,8 +2204,8 @@ protoOf(HeadlessOptions).hc0 = function () {
|
|
|
2206
2204
|
}
|
|
2207
2205
|
return tmp;
|
|
2208
2206
|
};
|
|
2209
|
-
protoOf(HeadlessOptions).
|
|
2210
|
-
var tmp0_safe_receiver = this.
|
|
2207
|
+
protoOf(HeadlessOptions).uc0 = function () {
|
|
2208
|
+
var tmp0_safe_receiver = this.ec0_1;
|
|
2211
2209
|
var tmp;
|
|
2212
2210
|
if (tmp0_safe_receiver == null) {
|
|
2213
2211
|
tmp = null;
|
|
@@ -2294,8 +2292,8 @@ function toJs_0(_this__u8e3s4) {
|
|
|
2294
2292
|
}
|
|
2295
2293
|
function toJs_1(_this__u8e3s4) {
|
|
2296
2294
|
var o = plainObject();
|
|
2297
|
-
o.hasTradingApiKey = _this__u8e3s4.
|
|
2298
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2295
|
+
o.hasTradingApiKey = _this__u8e3s4.zb7_1;
|
|
2296
|
+
var tmp0_safe_receiver = _this__u8e3s4.ab8_1;
|
|
2299
2297
|
var tmp;
|
|
2300
2298
|
var tmp_0 = tmp0_safe_receiver;
|
|
2301
2299
|
if ((tmp_0 == null ? null : new SteamId(tmp_0)) == null) {
|
|
@@ -2304,8 +2302,8 @@ function toJs_1(_this__u8e3s4) {
|
|
|
2304
2302
|
tmp = _SteamId___get_value__impl__qjh21u(tmp0_safe_receiver);
|
|
2305
2303
|
}
|
|
2306
2304
|
o.steamTokenSteamId = tmp;
|
|
2307
|
-
o.steamTokenExpiresAtMs = epochMs(_this__u8e3s4.
|
|
2308
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2305
|
+
o.steamTokenExpiresAtMs = epochMs(_this__u8e3s4.bb8_1);
|
|
2306
|
+
var tmp1_safe_receiver = _this__u8e3s4.cb8_1;
|
|
2309
2307
|
var tmp_1;
|
|
2310
2308
|
var tmp_2 = tmp1_safe_receiver;
|
|
2311
2309
|
if ((tmp_2 == null ? null : new SteamId(tmp_2)) == null) {
|
|
@@ -2314,9 +2312,9 @@ function toJs_1(_this__u8e3s4) {
|
|
|
2314
2312
|
tmp_1 = _SteamId___get_value__impl__qjh21u(tmp1_safe_receiver);
|
|
2315
2313
|
}
|
|
2316
2314
|
o.linkedSteamId = tmp_1;
|
|
2317
|
-
o.readySinceMs = epochMs(_this__u8e3s4.
|
|
2315
|
+
o.readySinceMs = epochMs(_this__u8e3s4.db8_1);
|
|
2318
2316
|
// Inline function 'kotlin.collections.map' call
|
|
2319
|
-
var this_0 = _this__u8e3s4.
|
|
2317
|
+
var this_0 = _this__u8e3s4.eb8_1;
|
|
2320
2318
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2321
2319
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
2322
2320
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -2328,7 +2326,7 @@ function toJs_1(_this__u8e3s4) {
|
|
|
2328
2326
|
}
|
|
2329
2327
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2330
2328
|
o.trackedDealIds = copyToArray(destination);
|
|
2331
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2329
|
+
var tmp2_safe_receiver = _this__u8e3s4.fb8_1;
|
|
2332
2330
|
var tmp_3;
|
|
2333
2331
|
var tmp_4 = tmp2_safe_receiver;
|
|
2334
2332
|
if ((tmp_4 == null ? null : new Duration(tmp_4)) == null) {
|
|
@@ -2338,14 +2336,14 @@ function toJs_1(_this__u8e3s4) {
|
|
|
2338
2336
|
}
|
|
2339
2337
|
var tmp3_safe_receiver = tmp_3;
|
|
2340
2338
|
o.clockOffsetMs = tmp3_safe_receiver == null ? null : toNumber(tmp3_safe_receiver);
|
|
2341
|
-
o.clockSkewed = _this__u8e3s4.
|
|
2342
|
-
o.steamNotLinked = _this__u8e3s4.
|
|
2343
|
-
o.updateRequired = _this__u8e3s4.
|
|
2344
|
-
o.updateDueTimeMs = epochMs(_this__u8e3s4.
|
|
2339
|
+
o.clockSkewed = _this__u8e3s4.kb8();
|
|
2340
|
+
o.steamNotLinked = _this__u8e3s4.gb8_1;
|
|
2341
|
+
o.updateRequired = _this__u8e3s4.hb8_1;
|
|
2342
|
+
o.updateDueTimeMs = epochMs(_this__u8e3s4.ib8_1);
|
|
2345
2343
|
var deadlines = plainObject();
|
|
2346
2344
|
// Inline function 'kotlin.collections.forEach' call
|
|
2347
2345
|
// Inline function 'kotlin.collections.iterator' call
|
|
2348
|
-
var _iterator__ex2g4s_0 = _this__u8e3s4.
|
|
2346
|
+
var _iterator__ex2g4s_0 = _this__u8e3s4.jb8_1.n1().t();
|
|
2349
2347
|
while (_iterator__ex2g4s_0.u()) {
|
|
2350
2348
|
var element = _iterator__ex2g4s_0.v();
|
|
2351
2349
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -2391,10 +2389,10 @@ function join_0($this, parts) {
|
|
|
2391
2389
|
return accumulator;
|
|
2392
2390
|
}
|
|
2393
2391
|
function Companion_9() {
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2392
|
+
this.rc0_1 = '@dmarket/p2p-tracker-headless';
|
|
2393
|
+
this.sc0_1 = 'prover-child.mjs';
|
|
2396
2394
|
}
|
|
2397
|
-
protoOf(Companion_9).
|
|
2395
|
+
protoOf(Companion_9).tc0 = function (packageRoot, assetsDir) {
|
|
2398
2396
|
var tmp1_elvis_lhs = packageRoot == null ? installedRoot(this) : packageRoot;
|
|
2399
2397
|
var tmp;
|
|
2400
2398
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2407,7 +2405,7 @@ protoOf(Companion_9).rc0 = function (packageRoot, assetsDir) {
|
|
|
2407
2405
|
var root = tmp;
|
|
2408
2406
|
var tmp_0 = join_0(this, [root, 'prover-child.mjs']);
|
|
2409
2407
|
var files = new ProverFiles(tmp_0, assetsDir == null ? root : assetsDir);
|
|
2410
|
-
var required = listOf([files.
|
|
2408
|
+
var required = listOf([files.vc0_1, join_0(this, [files.wc0_1, 'pkg', 'client_wasm_bg.wasm']), join_0(this, [files.wc0_1, 'transport', 'dist', 'node.js'])]);
|
|
2411
2409
|
var tmp$ret$1;
|
|
2412
2410
|
$l$block: {
|
|
2413
2411
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -2438,11 +2436,11 @@ function Companion_getInstance_12() {
|
|
|
2438
2436
|
return Companion_instance_12;
|
|
2439
2437
|
}
|
|
2440
2438
|
function ProverFiles(script, assetsDir) {
|
|
2441
|
-
this.
|
|
2442
|
-
this.
|
|
2439
|
+
this.vc0_1 = script;
|
|
2440
|
+
this.wc0_1 = assetsDir;
|
|
2443
2441
|
}
|
|
2444
2442
|
function whole($this, value, name, range) {
|
|
2445
|
-
var tmp0_elvis_lhs = Companion_getInstance_11().
|
|
2443
|
+
var tmp0_elvis_lhs = Companion_getInstance_11().uc2(value, name, 'number');
|
|
2446
2444
|
var tmp;
|
|
2447
2445
|
if (tmp0_elvis_lhs == null) {
|
|
2448
2446
|
return null;
|
|
@@ -2468,7 +2466,7 @@ function whole($this, value, name, range) {
|
|
|
2468
2466
|
return numberToInt(number);
|
|
2469
2467
|
}
|
|
2470
2468
|
function milliseconds($this, value, name) {
|
|
2471
|
-
var tmp0_elvis_lhs = Companion_getInstance_11().
|
|
2469
|
+
var tmp0_elvis_lhs = Companion_getInstance_11().uc2(value, name, 'number');
|
|
2472
2470
|
var tmp;
|
|
2473
2471
|
if (tmp0_elvis_lhs == null) {
|
|
2474
2472
|
return null;
|
|
@@ -2495,24 +2493,24 @@ function milliseconds($this, value, name) {
|
|
|
2495
2493
|
}
|
|
2496
2494
|
function Companion_10() {
|
|
2497
2495
|
Companion_instance_13 = this;
|
|
2498
|
-
this.
|
|
2499
|
-
this.
|
|
2496
|
+
this.vc2_1 = setOf(['notaryUrl', 'maxConcurrency', 'proofsPerChild', 'threadCount', 'assetsDir', 'connectDeadlineMs', 'sessionDeadlineMs']);
|
|
2497
|
+
this.wc2_1 = new ProverLimits();
|
|
2500
2498
|
}
|
|
2501
|
-
protoOf(Companion_10).
|
|
2499
|
+
protoOf(Companion_10).ubz = function (prover) {
|
|
2502
2500
|
var tmp = Array.isArray(prover);
|
|
2503
2501
|
// Inline function 'kotlin.require' call
|
|
2504
2502
|
if (!!((!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE())) {
|
|
2505
2503
|
var message = 'prover must be an object';
|
|
2506
2504
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2507
2505
|
}
|
|
2508
|
-
Companion_getInstance_11().
|
|
2509
|
-
var notaryUrl = Companion_getInstance_11().
|
|
2506
|
+
Companion_getInstance_11().tc2(prover, this.vc2_1, 'prover.');
|
|
2507
|
+
var notaryUrl = Companion_getInstance_11().uc2(prover.notaryUrl, 'prover.notaryUrl', 'string');
|
|
2510
2508
|
// Inline function 'kotlin.require' call
|
|
2511
2509
|
if (!(notaryUrl == null || startsWith(notaryUrl, 'wss://') || startsWith(notaryUrl, 'ws://'))) {
|
|
2512
2510
|
var message_0 = 'prover.notaryUrl must be a ws:// or wss:// URL';
|
|
2513
2511
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
2514
2512
|
}
|
|
2515
|
-
var assetsDir = Companion_getInstance_11().
|
|
2513
|
+
var assetsDir = Companion_getInstance_11().uc2(prover.assetsDir, 'prover.assetsDir', 'string');
|
|
2516
2514
|
var tmp_0;
|
|
2517
2515
|
if (assetsDir == null) {
|
|
2518
2516
|
tmp_0 = true;
|
|
@@ -2535,7 +2533,7 @@ protoOf(Companion_10).sbz = function (prover) {
|
|
|
2535
2533
|
var tmp_4;
|
|
2536
2534
|
var tmp_5 = tmp3_elvis_lhs;
|
|
2537
2535
|
if ((tmp_5 == null ? null : new Duration(tmp_5)) == null) {
|
|
2538
|
-
tmp_4 = this.
|
|
2536
|
+
tmp_4 = this.wc2_1.zc2_1;
|
|
2539
2537
|
} else {
|
|
2540
2538
|
tmp_4 = tmp3_elvis_lhs;
|
|
2541
2539
|
}
|
|
@@ -2544,7 +2542,7 @@ protoOf(Companion_10).sbz = function (prover) {
|
|
|
2544
2542
|
var tmp_7;
|
|
2545
2543
|
var tmp_8 = tmp4_elvis_lhs;
|
|
2546
2544
|
if ((tmp_8 == null ? null : new Duration(tmp_8)) == null) {
|
|
2547
|
-
tmp_7 = this.
|
|
2545
|
+
tmp_7 = this.wc2_1.ac3_1;
|
|
2548
2546
|
} else {
|
|
2549
2547
|
tmp_7 = tmp4_elvis_lhs;
|
|
2550
2548
|
}
|
|
@@ -2558,13 +2556,13 @@ function Companion_getInstance_13() {
|
|
|
2558
2556
|
}
|
|
2559
2557
|
function ProverOptions(notaryUrl, maxConcurrency, proofsPerChild, threadCount, assetsDir, connectDeadline, sessionDeadline) {
|
|
2560
2558
|
Companion_getInstance_13();
|
|
2561
|
-
this.
|
|
2562
|
-
this.
|
|
2563
|
-
this.
|
|
2564
|
-
this.
|
|
2565
|
-
this.
|
|
2566
|
-
this.
|
|
2567
|
-
this.
|
|
2559
|
+
this.kc0_1 = notaryUrl;
|
|
2560
|
+
this.lc0_1 = maxConcurrency;
|
|
2561
|
+
this.mc0_1 = proofsPerChild;
|
|
2562
|
+
this.nc0_1 = threadCount;
|
|
2563
|
+
this.oc0_1 = assetsDir;
|
|
2564
|
+
this.pc0_1 = connectDeadline;
|
|
2565
|
+
this.qc0_1 = sessionDeadline;
|
|
2568
2566
|
}
|
|
2569
2567
|
function file($this, key) {
|
|
2570
2568
|
// Inline function 'kotlin.require' call
|
|
@@ -2573,18 +2571,18 @@ function file($this, key) {
|
|
|
2573
2571
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2574
2572
|
}
|
|
2575
2573
|
// Inline function 'kotlin.require' call
|
|
2576
|
-
if (!Companion_getInstance_14().
|
|
2574
|
+
if (!Companion_getInstance_14().dc3_1.od(key)) {
|
|
2577
2575
|
var message_0 = 'storage key must be [A-Za-z0-9._-]+: ' + key;
|
|
2578
2576
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
2579
2577
|
}
|
|
2580
|
-
return join($this.
|
|
2578
|
+
return join($this.hc3_1, key);
|
|
2581
2579
|
}
|
|
2582
2580
|
function Companion_11() {
|
|
2583
2581
|
Companion_instance_14 = this;
|
|
2584
|
-
this.
|
|
2585
|
-
this.
|
|
2586
|
-
this.
|
|
2587
|
-
this.
|
|
2582
|
+
this.dc3_1 = Regex_init_$Create$('^[A-Za-z0-9._-]+$');
|
|
2583
|
+
this.ec3_1 = 6;
|
|
2584
|
+
this.fc3_1 = 448;
|
|
2585
|
+
this.gc3_1 = 384;
|
|
2588
2586
|
}
|
|
2589
2587
|
var Companion_instance_14;
|
|
2590
2588
|
function Companion_getInstance_14() {
|
|
@@ -2594,8 +2592,8 @@ function Companion_getInstance_14() {
|
|
|
2594
2592
|
}
|
|
2595
2593
|
function $getCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
|
|
2596
2594
|
CoroutineImpl.call(this, resultContinuation);
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2595
|
+
this.rc3_1 = _this__u8e3s4;
|
|
2596
|
+
this.sc3_1 = key;
|
|
2599
2597
|
}
|
|
2600
2598
|
protoOf($getCOROUTINE$).o9 = function () {
|
|
2601
2599
|
var suspendResult = this.i9_1;
|
|
@@ -2607,14 +2605,14 @@ protoOf($getCOROUTINE$).o9 = function () {
|
|
|
2607
2605
|
this.h9_1 = 3;
|
|
2608
2606
|
this.h9_1 = 2;
|
|
2609
2607
|
this.g9_1 = 1;
|
|
2610
|
-
suspendResult = await_0(readFile(file(this.
|
|
2608
|
+
suspendResult = await_0(readFile(file(this.rc3_1, this.sc3_1), 'utf8'), this);
|
|
2611
2609
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2612
2610
|
return suspendResult;
|
|
2613
2611
|
}
|
|
2614
2612
|
|
|
2615
2613
|
continue $sm;
|
|
2616
2614
|
case 1:
|
|
2617
|
-
this.
|
|
2615
|
+
this.tc3_1 = suspendResult;
|
|
2618
2616
|
this.h9_1 = 3;
|
|
2619
2617
|
this.g9_1 = 4;
|
|
2620
2618
|
continue $sm;
|
|
@@ -2630,7 +2628,7 @@ protoOf($getCOROUTINE$).o9 = function () {
|
|
|
2630
2628
|
} else {
|
|
2631
2629
|
throw e;
|
|
2632
2630
|
}
|
|
2633
|
-
tmp_1.
|
|
2631
|
+
tmp_1.tc3_1 = tmp_2;
|
|
2634
2632
|
this.g9_1 = 4;
|
|
2635
2633
|
continue $sm;
|
|
2636
2634
|
} else {
|
|
@@ -2641,7 +2639,7 @@ protoOf($getCOROUTINE$).o9 = function () {
|
|
|
2641
2639
|
throw this.j9_1;
|
|
2642
2640
|
case 4:
|
|
2643
2641
|
this.h9_1 = 3;
|
|
2644
|
-
return this.
|
|
2642
|
+
return this.tc3_1;
|
|
2645
2643
|
}
|
|
2646
2644
|
} catch ($p) {
|
|
2647
2645
|
var e_0 = $p;
|
|
@@ -2656,9 +2654,9 @@ protoOf($getCOROUTINE$).o9 = function () {
|
|
|
2656
2654
|
};
|
|
2657
2655
|
function $setCOROUTINE$(_this__u8e3s4, key, value, resultContinuation) {
|
|
2658
2656
|
CoroutineImpl.call(this, resultContinuation);
|
|
2659
|
-
this.
|
|
2660
|
-
this.
|
|
2661
|
-
this.
|
|
2657
|
+
this.cc4_1 = _this__u8e3s4;
|
|
2658
|
+
this.dc4_1 = key;
|
|
2659
|
+
this.ec4_1 = value;
|
|
2662
2660
|
}
|
|
2663
2661
|
protoOf($setCOROUTINE$).o9 = function () {
|
|
2664
2662
|
var suspendResult = this.i9_1;
|
|
@@ -2668,13 +2666,13 @@ protoOf($setCOROUTINE$).o9 = function () {
|
|
|
2668
2666
|
switch (tmp) {
|
|
2669
2667
|
case 0:
|
|
2670
2668
|
this.h9_1 = 5;
|
|
2671
|
-
this.
|
|
2672
|
-
if (!this.
|
|
2669
|
+
this.fc4_1 = file(this.cc4_1, this.dc4_1);
|
|
2670
|
+
if (!this.cc4_1.ic3_1) {
|
|
2673
2671
|
this.g9_1 = 1;
|
|
2674
2672
|
var this_0 = {};
|
|
2675
2673
|
this_0.recursive = true;
|
|
2676
2674
|
this_0.mode = 448;
|
|
2677
|
-
suspendResult = await_0(mkdir(this.
|
|
2675
|
+
suspendResult = await_0(mkdir(this.cc4_1.hc3_1, this_0), this);
|
|
2678
2676
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2679
2677
|
return suspendResult;
|
|
2680
2678
|
}
|
|
@@ -2685,18 +2683,18 @@ protoOf($setCOROUTINE$).o9 = function () {
|
|
|
2685
2683
|
}
|
|
2686
2684
|
|
|
2687
2685
|
case 1:
|
|
2688
|
-
this.
|
|
2686
|
+
this.cc4_1.ic3_1 = true;
|
|
2689
2687
|
this.g9_1 = 2;
|
|
2690
2688
|
continue $sm;
|
|
2691
2689
|
case 2:
|
|
2692
2690
|
var tmp_0 = this;
|
|
2693
2691
|
var tmp_1 = randomBytes(6).toString('hex');
|
|
2694
|
-
tmp_0.
|
|
2692
|
+
tmp_0.gc4_1 = this.fc4_1 + '.' + ((!(tmp_1 == null) ? typeof tmp_1 === 'string' : false) ? tmp_1 : THROW_CCE()) + '.tmp';
|
|
2695
2693
|
this.g9_1 = 3;
|
|
2696
2694
|
var this_1 = {};
|
|
2697
2695
|
this_1.encoding = 'utf8';
|
|
2698
2696
|
this_1.mode = 384;
|
|
2699
|
-
suspendResult = await_0(writeFile(this.
|
|
2697
|
+
suspendResult = await_0(writeFile(this.gc4_1, this.ec4_1, this_1), this);
|
|
2700
2698
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2701
2699
|
return suspendResult;
|
|
2702
2700
|
}
|
|
@@ -2704,7 +2702,7 @@ protoOf($setCOROUTINE$).o9 = function () {
|
|
|
2704
2702
|
continue $sm;
|
|
2705
2703
|
case 3:
|
|
2706
2704
|
this.g9_1 = 4;
|
|
2707
|
-
suspendResult = await_0(rename(this.
|
|
2705
|
+
suspendResult = await_0(rename(this.gc4_1, this.fc4_1), this);
|
|
2708
2706
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2709
2707
|
return suspendResult;
|
|
2710
2708
|
}
|
|
@@ -2728,8 +2726,8 @@ protoOf($setCOROUTINE$).o9 = function () {
|
|
|
2728
2726
|
};
|
|
2729
2727
|
function $removeCOROUTINE$(_this__u8e3s4, key, resultContinuation) {
|
|
2730
2728
|
CoroutineImpl.call(this, resultContinuation);
|
|
2731
|
-
this.
|
|
2732
|
-
this.
|
|
2729
|
+
this.pc4_1 = _this__u8e3s4;
|
|
2730
|
+
this.qc4_1 = key;
|
|
2733
2731
|
}
|
|
2734
2732
|
protoOf($removeCOROUTINE$).o9 = function () {
|
|
2735
2733
|
var suspendResult = this.i9_1;
|
|
@@ -2741,7 +2739,7 @@ protoOf($removeCOROUTINE$).o9 = function () {
|
|
|
2741
2739
|
this.h9_1 = 3;
|
|
2742
2740
|
this.h9_1 = 2;
|
|
2743
2741
|
this.g9_1 = 1;
|
|
2744
|
-
suspendResult = await_0(unlink(file(this.
|
|
2742
|
+
suspendResult = await_0(unlink(file(this.pc4_1, this.qc4_1)), this);
|
|
2745
2743
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2746
2744
|
return suspendResult;
|
|
2747
2745
|
}
|
|
@@ -2783,8 +2781,8 @@ protoOf($removeCOROUTINE$).o9 = function () {
|
|
|
2783
2781
|
};
|
|
2784
2782
|
function FileKeyValueStore(dir) {
|
|
2785
2783
|
Companion_getInstance_14();
|
|
2786
|
-
this.
|
|
2787
|
-
this.
|
|
2784
|
+
this.hc3_1 = dir;
|
|
2785
|
+
this.ic3_1 = false;
|
|
2788
2786
|
}
|
|
2789
2787
|
protoOf(FileKeyValueStore).k6k = function (key, $completion) {
|
|
2790
2788
|
var tmp = new $getCOROUTINE$(this, key, $completion);
|
|
@@ -2806,7 +2804,7 @@ protoOf(FileKeyValueStore).m6k = function (key, $completion) {
|
|
|
2806
2804
|
};
|
|
2807
2805
|
function Companion_12() {
|
|
2808
2806
|
Companion_instance_15 = this;
|
|
2809
|
-
this.
|
|
2807
|
+
this.rc4_1 = Regex_init_$Create$('^[0-9]{1,20}$');
|
|
2810
2808
|
}
|
|
2811
2809
|
var Companion_instance_15;
|
|
2812
2810
|
function Companion_getInstance_15() {
|
|
@@ -2816,23 +2814,23 @@ function Companion_getInstance_15() {
|
|
|
2816
2814
|
}
|
|
2817
2815
|
function AccountDirectories(dataDir) {
|
|
2818
2816
|
Companion_getInstance_15();
|
|
2819
|
-
this.
|
|
2817
|
+
this.ec2_1 = dataDir;
|
|
2820
2818
|
var tmp = this;
|
|
2821
2819
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2822
|
-
tmp.
|
|
2820
|
+
tmp.fc2_1 = LinkedHashMap_init_$Create$();
|
|
2823
2821
|
}
|
|
2824
|
-
protoOf(AccountDirectories).
|
|
2822
|
+
protoOf(AccountDirectories).gc2 = function (steamId) {
|
|
2825
2823
|
// Inline function 'kotlin.require' call
|
|
2826
|
-
if (!Companion_getInstance_15().
|
|
2824
|
+
if (!Companion_getInstance_15().rc4_1.od(steamId)) {
|
|
2827
2825
|
var message = 'not a steamid64';
|
|
2828
2826
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2829
2827
|
}
|
|
2830
2828
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2831
|
-
var this_0 = this.
|
|
2829
|
+
var this_0 = this.fc2_1;
|
|
2832
2830
|
var value = this_0.w2(steamId);
|
|
2833
2831
|
var tmp;
|
|
2834
2832
|
if (value == null) {
|
|
2835
|
-
var answer = new FileKeyValueStore(join(this.
|
|
2833
|
+
var answer = new FileKeyValueStore(join(this.ec2_1, steamId));
|
|
2836
2834
|
this_0.f3(steamId, answer);
|
|
2837
2835
|
tmp = answer;
|
|
2838
2836
|
} else {
|
|
@@ -2896,7 +2894,7 @@ function get_PROVER_ENV_ALLOWED() {
|
|
|
2896
2894
|
}
|
|
2897
2895
|
var PROVER_ENV_ALLOWED;
|
|
2898
2896
|
function Companion_13() {
|
|
2899
|
-
this.
|
|
2897
|
+
this.sc4_1 = 5;
|
|
2900
2898
|
}
|
|
2901
2899
|
var Companion_instance_16;
|
|
2902
2900
|
function Companion_getInstance_16() {
|
|
@@ -2931,14 +2929,14 @@ function ProverLimits(connectDeadline, sessionDeadline, proofsPerChild, exitGrac
|
|
|
2931
2929
|
tmp_1 = exitGrace;
|
|
2932
2930
|
}
|
|
2933
2931
|
exitGrace = tmp_1;
|
|
2934
|
-
this.
|
|
2935
|
-
this.
|
|
2936
|
-
this.
|
|
2937
|
-
this.
|
|
2938
|
-
var containsArg = this.
|
|
2932
|
+
this.zc2_1 = connectDeadline;
|
|
2933
|
+
this.ac3_1 = sessionDeadline;
|
|
2934
|
+
this.bc3_1 = proofsPerChild;
|
|
2935
|
+
this.cc3_1 = exitGrace;
|
|
2936
|
+
var containsArg = this.bc3_1;
|
|
2939
2937
|
// Inline function 'kotlin.require' call
|
|
2940
2938
|
if (!(1 <= containsArg ? containsArg <= 5 : false)) {
|
|
2941
|
-
var message = 'proofsPerChild must be 1..5, was ' + this.
|
|
2939
|
+
var message = 'proofsPerChild must be 1..5, was ' + this.bc3_1;
|
|
2942
2940
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2943
2941
|
}
|
|
2944
2942
|
}
|
|
@@ -2953,7 +2951,7 @@ function killed($this, cause, detail) {
|
|
|
2953
2951
|
}
|
|
2954
2952
|
function takeIdle($this) {
|
|
2955
2953
|
while (true) {
|
|
2956
|
-
var tmp0_elvis_lhs = $this.
|
|
2954
|
+
var tmp0_elvis_lhs = $this.vc5_1.ug();
|
|
2957
2955
|
var tmp;
|
|
2958
2956
|
if (tmp0_elvis_lhs == null) {
|
|
2959
2957
|
return null;
|
|
@@ -2961,29 +2959,29 @@ function takeIdle($this) {
|
|
|
2961
2959
|
tmp = tmp0_elvis_lhs;
|
|
2962
2960
|
}
|
|
2963
2961
|
var child = tmp;
|
|
2964
|
-
if (!child.
|
|
2962
|
+
if (!child.fc6_1)
|
|
2965
2963
|
return child;
|
|
2966
2964
|
}
|
|
2967
2965
|
}
|
|
2968
2966
|
function release($this, child, outcome) {
|
|
2969
2967
|
var tmp;
|
|
2970
2968
|
if (outcome instanceof Failed) {
|
|
2971
|
-
var tmp_0 = outcome.
|
|
2969
|
+
var tmp_0 = outcome.xas_1;
|
|
2972
2970
|
tmp = tmp_0 instanceof ProverKilled;
|
|
2973
2971
|
} else {
|
|
2974
2972
|
tmp = false;
|
|
2975
2973
|
}
|
|
2976
2974
|
var killed = tmp;
|
|
2977
|
-
if (killed || child.
|
|
2978
|
-
$this.
|
|
2979
|
-
child.
|
|
2975
|
+
if (killed || child.fc6_1 || child.ec6_1 >= $this.oc5_1.bc3_1) {
|
|
2976
|
+
$this.wc5_1.z2(child);
|
|
2977
|
+
child.hc6($this.oc5_1.cc3_1);
|
|
2980
2978
|
} else {
|
|
2981
|
-
$this.
|
|
2979
|
+
$this.vc5_1.sg(child);
|
|
2982
2980
|
}
|
|
2983
2981
|
}
|
|
2984
2982
|
function fork($this) {
|
|
2985
2983
|
var options = {};
|
|
2986
|
-
options.env = toJsObject($this.
|
|
2984
|
+
options.env = toJsObject($this.pc5_1);
|
|
2987
2985
|
// Inline function 'kotlin.emptyArray' call
|
|
2988
2986
|
options.execArgv = [];
|
|
2989
2987
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2992,14 +2990,14 @@ function fork($this) {
|
|
|
2992
2990
|
options.stdio = ['ignore', 'pipe', 'pipe', 'ipc'];
|
|
2993
2991
|
options.serialization = 'json';
|
|
2994
2992
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2995
|
-
var this_0 = $this.
|
|
2993
|
+
var this_0 = $this.lc5_1;
|
|
2996
2994
|
var tmp$ret$4 = copyToArray(this_0);
|
|
2997
|
-
var process = com_dmarket_p2p_headless_node_nodeChildProcess_579ejd.fork($this.
|
|
2998
|
-
$this.
|
|
2995
|
+
var process = com_dmarket_p2p_headless_node_nodeChildProcess_579ejd.fork($this.kc5_1, tmp$ret$4, options);
|
|
2996
|
+
$this.yc5_1 = $this.yc5_1 + 1 | 0;
|
|
2999
2997
|
// Inline function 'kotlin.also' call
|
|
3000
|
-
var this_1 = new ForkedChild(process, $this.
|
|
2998
|
+
var this_1 = new ForkedChild(process, $this.rc5_1, $this.sc5_1);
|
|
3001
2999
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3002
|
-
$this.
|
|
3000
|
+
$this.wc5_1.e1(this_1);
|
|
3003
3001
|
return this_1;
|
|
3004
3002
|
}
|
|
3005
3003
|
function ForkedProofHost$_init_$lambda_p9fnmo(_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
|
|
@@ -3012,17 +3010,17 @@ function ForkedProofHost$_init_$lambda_p9fnmo_1(_unused_var__etf5q3, _unused_var
|
|
|
3012
3010
|
return Unit_instance;
|
|
3013
3011
|
}
|
|
3014
3012
|
function ForkedProofHost$run$slambda($child, resultContinuation) {
|
|
3015
|
-
this.
|
|
3013
|
+
this.qc6_1 = $child;
|
|
3016
3014
|
CoroutineImpl.call(this, resultContinuation);
|
|
3017
3015
|
}
|
|
3018
|
-
protoOf(ForkedProofHost$run$slambda).
|
|
3016
|
+
protoOf(ForkedProofHost$run$slambda).sc6 = function ($this$withTimeoutOrNull, $completion) {
|
|
3019
3017
|
var tmp = this.l1n($this$withTimeoutOrNull, $completion);
|
|
3020
3018
|
tmp.i9_1 = Unit_instance;
|
|
3021
3019
|
tmp.j9_1 = null;
|
|
3022
3020
|
return tmp.o9();
|
|
3023
3021
|
};
|
|
3024
3022
|
protoOf(ForkedProofHost$run$slambda).ba = function (p1, $completion) {
|
|
3025
|
-
return this.
|
|
3023
|
+
return this.sc6((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
|
|
3026
3024
|
};
|
|
3027
3025
|
protoOf(ForkedProofHost$run$slambda).o9 = function () {
|
|
3028
3026
|
var suspendResult = this.i9_1;
|
|
@@ -3033,7 +3031,7 @@ protoOf(ForkedProofHost$run$slambda).o9 = function () {
|
|
|
3033
3031
|
case 0:
|
|
3034
3032
|
this.h9_1 = 2;
|
|
3035
3033
|
this.g9_1 = 1;
|
|
3036
|
-
suspendResult = this.
|
|
3034
|
+
suspendResult = this.qc6_1.cc6_1.j1f(this);
|
|
3037
3035
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3038
3036
|
return suspendResult;
|
|
3039
3037
|
}
|
|
@@ -3056,21 +3054,21 @@ protoOf(ForkedProofHost$run$slambda).o9 = function () {
|
|
|
3056
3054
|
while (true);
|
|
3057
3055
|
};
|
|
3058
3056
|
protoOf(ForkedProofHost$run$slambda).l1n = function ($this$withTimeoutOrNull, completion) {
|
|
3059
|
-
var i = new ForkedProofHost$run$slambda(this.
|
|
3060
|
-
i.
|
|
3057
|
+
var i = new ForkedProofHost$run$slambda(this.qc6_1, completion);
|
|
3058
|
+
i.rc6_1 = $this$withTimeoutOrNull;
|
|
3061
3059
|
return i;
|
|
3062
3060
|
};
|
|
3063
3061
|
function ForkedProofHost$run$slambda_0($child, resultContinuation) {
|
|
3064
3062
|
var i = new ForkedProofHost$run$slambda($child, resultContinuation);
|
|
3065
3063
|
return constructCallableReference(function ($this$withTimeoutOrNull, $completion) {
|
|
3066
|
-
return i.
|
|
3064
|
+
return i.sc6($this$withTimeoutOrNull, $completion);
|
|
3067
3065
|
}, 1);
|
|
3068
3066
|
}
|
|
3069
3067
|
function $proveCOROUTINE$(_this__u8e3s4, proof, upgrade, resultContinuation) {
|
|
3070
3068
|
CoroutineImpl.call(this, resultContinuation);
|
|
3071
|
-
this.
|
|
3072
|
-
this.
|
|
3073
|
-
this.
|
|
3069
|
+
this.bc7_1 = _this__u8e3s4;
|
|
3070
|
+
this.cc7_1 = proof;
|
|
3071
|
+
this.dc7_1 = upgrade;
|
|
3074
3072
|
}
|
|
3075
3073
|
protoOf($proveCOROUTINE$).o9 = function () {
|
|
3076
3074
|
var suspendResult = this.i9_1;
|
|
@@ -3080,20 +3078,20 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3080
3078
|
switch (tmp) {
|
|
3081
3079
|
case 0:
|
|
3082
3080
|
this.h9_1 = 6;
|
|
3083
|
-
this.
|
|
3084
|
-
var tmp0_safe_receiver = this.
|
|
3081
|
+
this.fc7_1 = this.cc7_1.qau_1.fav_1;
|
|
3082
|
+
var tmp0_safe_receiver = this.bc7_1.qc5_1.aby(this.bc7_1.nc5_1.fo());
|
|
3085
3083
|
if (tmp0_safe_receiver == null)
|
|
3086
3084
|
null;
|
|
3087
3085
|
else {
|
|
3088
3086
|
var held = new NotStarted(tmp0_safe_receiver);
|
|
3089
|
-
this.
|
|
3087
|
+
this.bc7_1.tc5_1(this.fc7_1, held);
|
|
3090
3088
|
return new Failed(held);
|
|
3091
3089
|
}
|
|
3092
3090
|
|
|
3093
|
-
this.
|
|
3094
|
-
this.
|
|
3091
|
+
this.lc7_1 = this.bc7_1.uc5_1;
|
|
3092
|
+
this.kc7_1 = null;
|
|
3095
3093
|
this.g9_1 = 1;
|
|
3096
|
-
suspendResult = this.
|
|
3094
|
+
suspendResult = this.lc7_1.c1t(this.kc7_1, this);
|
|
3097
3095
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3098
3096
|
return suspendResult;
|
|
3099
3097
|
}
|
|
@@ -3104,35 +3102,35 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3104
3102
|
l$ret$1: do {
|
|
3105
3103
|
var tmp_0;
|
|
3106
3104
|
try {
|
|
3107
|
-
var tmp0_elvis_lhs = takeIdle(this.
|
|
3108
|
-
var tmp_1 = tmp0_elvis_lhs == null ? fork(this.
|
|
3109
|
-
var _unary__edvuaz = this.
|
|
3110
|
-
this.
|
|
3105
|
+
var tmp0_elvis_lhs = takeIdle(this.bc7_1);
|
|
3106
|
+
var tmp_1 = tmp0_elvis_lhs == null ? fork(this.bc7_1) : tmp0_elvis_lhs;
|
|
3107
|
+
var _unary__edvuaz = this.bc7_1.xc5_1;
|
|
3108
|
+
this.bc7_1.xc5_1 = _unary__edvuaz + 1 | 0;
|
|
3111
3109
|
tmp$ret$0 = to(tmp_1, _unary__edvuaz);
|
|
3112
3110
|
break l$ret$1;
|
|
3113
3111
|
} catch ($p) {
|
|
3114
3112
|
var tmp_2;
|
|
3115
3113
|
var t = $p;
|
|
3116
|
-
this.
|
|
3114
|
+
this.lc7_1.o1s(this.kc7_1);
|
|
3117
3115
|
throw t;
|
|
3118
3116
|
}
|
|
3119
3117
|
}
|
|
3120
3118
|
while (false);
|
|
3121
3119
|
var tmp_3 = tmp$ret$0;
|
|
3122
|
-
this.
|
|
3123
|
-
this.
|
|
3120
|
+
this.lc7_1.o1s(this.kc7_1);
|
|
3121
|
+
this.gc7_1 = tmp_3.eh();
|
|
3124
3122
|
var id = tmp_3.fh();
|
|
3125
|
-
this.
|
|
3123
|
+
this.bc7_1.sc5_1('proof started', false, listOf([to('dealId', this.fc7_1), to('pid', this.gc7_1.dc6_1)]));
|
|
3126
3124
|
this.h9_1 = 3;
|
|
3127
3125
|
this.g9_1 = 2;
|
|
3128
|
-
suspendResult = run(this.
|
|
3126
|
+
suspendResult = run(this.bc7_1, this.gc7_1, id, this.cc7_1, this.dc7_1, this);
|
|
3129
3127
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3130
3128
|
return suspendResult;
|
|
3131
3129
|
}
|
|
3132
3130
|
|
|
3133
3131
|
continue $sm;
|
|
3134
3132
|
case 2:
|
|
3135
|
-
this.
|
|
3133
|
+
this.jc7_1 = suspendResult;
|
|
3136
3134
|
this.h9_1 = 6;
|
|
3137
3135
|
this.g9_1 = 4;
|
|
3138
3136
|
continue $sm;
|
|
@@ -3142,7 +3140,7 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3142
3140
|
if (tmp_4 instanceof CancellationException) {
|
|
3143
3141
|
var e = this.j9_1;
|
|
3144
3142
|
var tmp_5 = this;
|
|
3145
|
-
this.
|
|
3143
|
+
this.gc7_1.mc7();
|
|
3146
3144
|
throw e;
|
|
3147
3145
|
} else {
|
|
3148
3146
|
throw this.j9_1;
|
|
@@ -3150,11 +3148,11 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3150
3148
|
|
|
3151
3149
|
case 4:
|
|
3152
3150
|
this.h9_1 = 6;
|
|
3153
|
-
this.
|
|
3154
|
-
this.
|
|
3155
|
-
this.
|
|
3151
|
+
this.ec7_1 = this.jc7_1;
|
|
3152
|
+
this.ic7_1 = this.bc7_1.uc5_1;
|
|
3153
|
+
this.hc7_1 = null;
|
|
3156
3154
|
this.g9_1 = 5;
|
|
3157
|
-
suspendResult = this.
|
|
3155
|
+
suspendResult = this.ic7_1.c1t(this.hc7_1, this);
|
|
3158
3156
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3159
3157
|
return suspendResult;
|
|
3160
3158
|
}
|
|
@@ -3164,33 +3162,33 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3164
3162
|
l$ret$3: do {
|
|
3165
3163
|
var tmp_6;
|
|
3166
3164
|
try {
|
|
3167
|
-
release(this.
|
|
3165
|
+
release(this.bc7_1, this.gc7_1, this.ec7_1);
|
|
3168
3166
|
break l$ret$3;
|
|
3169
3167
|
} catch ($p_0) {
|
|
3170
3168
|
var tmp_7;
|
|
3171
3169
|
var t_0 = $p_0;
|
|
3172
|
-
this.
|
|
3170
|
+
this.ic7_1.o1s(this.hc7_1);
|
|
3173
3171
|
throw t_0;
|
|
3174
3172
|
}
|
|
3175
3173
|
}
|
|
3176
3174
|
while (false);
|
|
3177
|
-
this.
|
|
3178
|
-
var tmp1_subject = this.
|
|
3175
|
+
this.ic7_1.o1s(this.hc7_1);
|
|
3176
|
+
var tmp1_subject = this.ec7_1;
|
|
3179
3177
|
if (tmp1_subject instanceof Proved) {
|
|
3180
|
-
this.
|
|
3181
|
-
this.
|
|
3182
|
-
this.
|
|
3178
|
+
this.bc7_1.qc5_1.cby();
|
|
3179
|
+
this.bc7_1.sc5_1('proof made', false, listOf([to('dealId', this.fc7_1), to('pid', this.gc7_1.dc6_1)]));
|
|
3180
|
+
this.bc7_1.tc5_1(this.fc7_1, null);
|
|
3183
3181
|
} else {
|
|
3184
3182
|
if (tmp1_subject instanceof Failed) {
|
|
3185
|
-
this.
|
|
3186
|
-
this.
|
|
3187
|
-
this.
|
|
3183
|
+
this.bc7_1.qc5_1.bby(this.ec7_1.xas_1, this.bc7_1.nc5_1.fo());
|
|
3184
|
+
this.bc7_1.sc5_1('proof failed', true, listOf([to('dealId', this.fc7_1), to('pid', this.gc7_1.dc6_1), to('reason', ProverOutput_getInstance().l76(this.ec7_1.xas_1.fau()))]));
|
|
3185
|
+
this.bc7_1.tc5_1(this.fc7_1, this.ec7_1.xas_1);
|
|
3188
3186
|
} else {
|
|
3189
3187
|
noWhenBranchMatchedException();
|
|
3190
3188
|
}
|
|
3191
3189
|
}
|
|
3192
3190
|
|
|
3193
|
-
return this.
|
|
3191
|
+
return this.ec7_1;
|
|
3194
3192
|
case 6:
|
|
3195
3193
|
throw this.j9_1;
|
|
3196
3194
|
}
|
|
@@ -3207,11 +3205,11 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
3207
3205
|
};
|
|
3208
3206
|
function $runCOROUTINE$(_this__u8e3s4, child, id, proof, upgrade, resultContinuation) {
|
|
3209
3207
|
CoroutineImpl.call(this, resultContinuation);
|
|
3210
|
-
this.
|
|
3211
|
-
this.
|
|
3212
|
-
this.
|
|
3213
|
-
this.
|
|
3214
|
-
this.
|
|
3208
|
+
this.bc5_1 = _this__u8e3s4;
|
|
3209
|
+
this.cc5_1 = child;
|
|
3210
|
+
this.dc5_1 = id;
|
|
3211
|
+
this.ec5_1 = proof;
|
|
3212
|
+
this.fc5_1 = upgrade;
|
|
3215
3213
|
}
|
|
3216
3214
|
protoOf($runCOROUTINE$).o9 = function () {
|
|
3217
3215
|
var suspendResult = this.i9_1;
|
|
@@ -3221,14 +3219,14 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3221
3219
|
switch (tmp) {
|
|
3222
3220
|
case 0:
|
|
3223
3221
|
this.h9_1 = 9;
|
|
3224
|
-
this.
|
|
3225
|
-
this.
|
|
3226
|
-
if (!this.
|
|
3227
|
-
return killed(this.
|
|
3222
|
+
this.jc5_1 = Monotonic_instance.df();
|
|
3223
|
+
this.hc5_1 = null;
|
|
3224
|
+
if (!this.cc5_1.nc7(ProverIpc_getInstance().pby(new Prove(this.dc5_1, this.ec5_1.qau_1, this.ec5_1.rau_1, this.ec5_1.sau_1, this.bc5_1.mc5_1)))) {
|
|
3225
|
+
return killed(this.bc5_1, KillCause_EXITED_getInstance(), "the prover's channel was closed");
|
|
3228
3226
|
}
|
|
3229
3227
|
|
|
3230
|
-
var _receiver__tnumb7 = this.
|
|
3231
|
-
_receiver__tnumb7.
|
|
3228
|
+
var _receiver__tnumb7 = this.cc5_1;
|
|
3229
|
+
_receiver__tnumb7.ec6_1 = _receiver__tnumb7.ec6_1 + 1 | 0;
|
|
3232
3230
|
this.g9_1 = 1;
|
|
3233
3231
|
continue $sm;
|
|
3234
3232
|
case 1:
|
|
@@ -3237,19 +3235,19 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3237
3235
|
continue $sm;
|
|
3238
3236
|
}
|
|
3239
3237
|
|
|
3240
|
-
var tmp0_safe_receiver = this.
|
|
3238
|
+
var tmp0_safe_receiver = this.hc5_1;
|
|
3241
3239
|
var tmp_0;
|
|
3242
3240
|
if (tmp0_safe_receiver == null) {
|
|
3243
3241
|
tmp_0 = null;
|
|
3244
3242
|
} else {
|
|
3245
|
-
tmp_0 = Duration__minus_impl_q5cfm7(this.
|
|
3243
|
+
tmp_0 = Duration__minus_impl_q5cfm7(this.bc5_1.oc5_1.ac3_1, tmp0_safe_receiver.qp());
|
|
3246
3244
|
}
|
|
3247
3245
|
|
|
3248
3246
|
var tmp1_elvis_lhs = tmp_0;
|
|
3249
3247
|
var tmp_1;
|
|
3250
3248
|
var tmp_2 = tmp1_elvis_lhs;
|
|
3251
3249
|
if ((tmp_2 == null ? null : new Duration(tmp_2)) == null) {
|
|
3252
|
-
tmp_1 = Duration__minus_impl_q5cfm7(this.
|
|
3250
|
+
tmp_1 = Duration__minus_impl_q5cfm7(this.bc5_1.oc5_1.zc2_1, ValueTimeMark__elapsedNow_impl_eonqvs(this.jc5_1));
|
|
3253
3251
|
} else {
|
|
3254
3252
|
tmp_1 = tmp1_elvis_lhs;
|
|
3255
3253
|
}
|
|
@@ -3257,7 +3255,7 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3257
3255
|
var left = tmp_1;
|
|
3258
3256
|
this.g9_1 = 2;
|
|
3259
3257
|
var tmp_3 = coerceAtLeast(new Duration(left), new Duration(Companion_getInstance().kf_1));
|
|
3260
|
-
suspendResult = withTimeoutOrNull(tmp_3.jf_1, ForkedProofHost$run$slambda_0(this.
|
|
3258
|
+
suspendResult = withTimeoutOrNull(tmp_3.jf_1, ForkedProofHost$run$slambda_0(this.cc5_1, null), this);
|
|
3261
3259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3262
3260
|
return suspendResult;
|
|
3263
3261
|
}
|
|
@@ -3266,18 +3264,18 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3266
3264
|
case 2:
|
|
3267
3265
|
var event = suspendResult;
|
|
3268
3266
|
if (event == null) {
|
|
3269
|
-
this.
|
|
3270
|
-
return killed(this.
|
|
3267
|
+
this.cc5_1.mc7();
|
|
3268
|
+
return killed(this.bc5_1, this.hc5_1 == null ? KillCause_CONNECT_DEADLINE_getInstance() : KillCause_SESSION_DEADLINE_getInstance(), null);
|
|
3271
3269
|
}
|
|
3272
3270
|
|
|
3273
3271
|
if (event instanceof Exited) {
|
|
3274
|
-
return killed(this.
|
|
3272
|
+
return killed(this.bc5_1, event.sc7(), event.tc7());
|
|
3275
3273
|
} else {
|
|
3276
3274
|
if (event instanceof Message) {
|
|
3277
|
-
this.
|
|
3275
|
+
this.bc5_1;
|
|
3278
3276
|
var tmp_4;
|
|
3279
3277
|
try {
|
|
3280
|
-
var value = ProverIpc_getInstance().
|
|
3278
|
+
var value = ProverIpc_getInstance().sby(event.oc7_1);
|
|
3281
3279
|
tmp_4 = _Result___init__impl__xyqfz8(value);
|
|
3282
3280
|
} catch ($p) {
|
|
3283
3281
|
var tmp_5;
|
|
@@ -3296,7 +3294,7 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3296
3294
|
tmp_6 = null;
|
|
3297
3295
|
} else {
|
|
3298
3296
|
var tmp_7;
|
|
3299
|
-
if (tmp3_safe_receiver.q6b() === this.
|
|
3297
|
+
if (tmp3_safe_receiver.q6b() === this.dc5_1) {
|
|
3300
3298
|
tmp_7 = tmp3_safe_receiver;
|
|
3301
3299
|
} else {
|
|
3302
3300
|
tmp_7 = null;
|
|
@@ -3309,7 +3307,7 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3309
3307
|
var tmp_8 = this;
|
|
3310
3308
|
continue $sm;
|
|
3311
3309
|
} else {
|
|
3312
|
-
this.
|
|
3310
|
+
this.ic5_1 = tmp4_elvis_lhs;
|
|
3313
3311
|
this.g9_1 = 3;
|
|
3314
3312
|
continue $sm;
|
|
3315
3313
|
}
|
|
@@ -3320,23 +3318,23 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3320
3318
|
|
|
3321
3319
|
break;
|
|
3322
3320
|
case 3:
|
|
3323
|
-
var message = this.
|
|
3321
|
+
var message = this.ic5_1;
|
|
3324
3322
|
if (message instanceof HeadersWanted) {
|
|
3325
|
-
if (this.
|
|
3326
|
-
this.
|
|
3323
|
+
if (this.hc5_1 == null)
|
|
3324
|
+
this.hc5_1 = new ValueTimeMark(Monotonic_instance.df());
|
|
3327
3325
|
this.h9_1 = 5;
|
|
3328
3326
|
this.g9_1 = 4;
|
|
3329
|
-
suspendResult = this.
|
|
3327
|
+
suspendResult = this.fc5_1.o75(this);
|
|
3330
3328
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3331
3329
|
return suspendResult;
|
|
3332
3330
|
}
|
|
3333
3331
|
continue $sm;
|
|
3334
3332
|
} else {
|
|
3335
3333
|
if (message instanceof Proved_0) {
|
|
3336
|
-
return new Proved(message.
|
|
3334
|
+
return new Proved(message.mbz_1);
|
|
3337
3335
|
} else {
|
|
3338
3336
|
if (message instanceof Failed_0) {
|
|
3339
|
-
return new Failed(message.
|
|
3337
|
+
return new Failed(message.rbz_1);
|
|
3340
3338
|
} else {
|
|
3341
3339
|
noWhenBranchMatchedException();
|
|
3342
3340
|
}
|
|
@@ -3345,8 +3343,8 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3345
3343
|
|
|
3346
3344
|
break;
|
|
3347
3345
|
case 4:
|
|
3348
|
-
var ARGUMENT = suspendResult.
|
|
3349
|
-
this.
|
|
3346
|
+
var ARGUMENT = suspendResult.tau_1;
|
|
3347
|
+
this.gc5_1 = new Headers(this.dc5_1, ARGUMENT);
|
|
3350
3348
|
this.h9_1 = 9;
|
|
3351
3349
|
this.g9_1 = 6;
|
|
3352
3350
|
continue $sm;
|
|
@@ -3363,7 +3361,7 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3363
3361
|
var e_1 = this.j9_1;
|
|
3364
3362
|
var tmp_12 = this;
|
|
3365
3363
|
var tmp6_elvis_lhs = e_1.message;
|
|
3366
|
-
tmp_12.
|
|
3364
|
+
tmp_12.gc5_1 = new Headers(this.dc5_1, VOID, 'the upgrade could not be signed: ' + (tmp6_elvis_lhs == null ? 'no detail' : tmp6_elvis_lhs));
|
|
3367
3365
|
this.g9_1 = 6;
|
|
3368
3366
|
continue $sm;
|
|
3369
3367
|
} else {
|
|
@@ -3373,9 +3371,9 @@ protoOf($runCOROUTINE$).o9 = function () {
|
|
|
3373
3371
|
|
|
3374
3372
|
case 6:
|
|
3375
3373
|
this.h9_1 = 9;
|
|
3376
|
-
var reply = this.
|
|
3377
|
-
if (!this.
|
|
3378
|
-
return killed(this.
|
|
3374
|
+
var reply = this.gc5_1;
|
|
3375
|
+
if (!this.cc5_1.nc7(ProverIpc_getInstance().pby(reply)))
|
|
3376
|
+
return killed(this.bc5_1, KillCause_EXITED_getInstance(), "the prover's channel was closed");
|
|
3379
3377
|
this.g9_1 = 7;
|
|
3380
3378
|
continue $sm;
|
|
3381
3379
|
case 7:
|
|
@@ -3425,42 +3423,42 @@ function ForkedProofHost(script, args, settings, clock, limits, env, backoff, on
|
|
|
3425
3423
|
tmp_1 = onOutcome;
|
|
3426
3424
|
}
|
|
3427
3425
|
onOutcome = tmp_1;
|
|
3428
|
-
this.
|
|
3429
|
-
this.
|
|
3430
|
-
this.
|
|
3431
|
-
this.
|
|
3432
|
-
this.
|
|
3433
|
-
this.
|
|
3434
|
-
this.
|
|
3435
|
-
this.
|
|
3436
|
-
this.
|
|
3437
|
-
this.
|
|
3438
|
-
this.
|
|
3439
|
-
this.
|
|
3426
|
+
this.kc5_1 = script;
|
|
3427
|
+
this.lc5_1 = args;
|
|
3428
|
+
this.mc5_1 = settings;
|
|
3429
|
+
this.nc5_1 = clock;
|
|
3430
|
+
this.oc5_1 = limits;
|
|
3431
|
+
this.pc5_1 = env;
|
|
3432
|
+
this.qc5_1 = backoff;
|
|
3433
|
+
this.rc5_1 = onLine;
|
|
3434
|
+
this.sc5_1 = onNotice;
|
|
3435
|
+
this.tc5_1 = onOutcome;
|
|
3436
|
+
this.uc5_1 = Mutex();
|
|
3437
|
+
this.vc5_1 = ArrayDeque_init_$Create$();
|
|
3440
3438
|
var tmp_2 = this;
|
|
3441
3439
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
3442
|
-
tmp_2.
|
|
3443
|
-
this.
|
|
3444
|
-
this.
|
|
3440
|
+
tmp_2.wc5_1 = LinkedHashSet_init_$Create$();
|
|
3441
|
+
this.xc5_1 = 1;
|
|
3442
|
+
this.yc5_1 = 0;
|
|
3445
3443
|
}
|
|
3446
|
-
protoOf(ForkedProofHost).
|
|
3444
|
+
protoOf(ForkedProofHost).was = function (proof, upgrade, $completion) {
|
|
3447
3445
|
var tmp = new $proveCOROUTINE$(this, proof, upgrade, $completion);
|
|
3448
3446
|
tmp.i9_1 = Unit_instance;
|
|
3449
3447
|
tmp.j9_1 = null;
|
|
3450
3448
|
return tmp.o9();
|
|
3451
3449
|
};
|
|
3452
|
-
protoOf(ForkedProofHost).
|
|
3453
|
-
return this.
|
|
3450
|
+
protoOf(ForkedProofHost).dby = function () {
|
|
3451
|
+
return this.qc5_1.dby();
|
|
3454
3452
|
};
|
|
3455
3453
|
protoOf(ForkedProofHost).h4 = function () {
|
|
3456
3454
|
// Inline function 'kotlin.collections.forEach' call
|
|
3457
|
-
var _iterator__ex2g4s = this.
|
|
3455
|
+
var _iterator__ex2g4s = this.wc5_1.t();
|
|
3458
3456
|
while (_iterator__ex2g4s.u()) {
|
|
3459
3457
|
var element = _iterator__ex2g4s.v();
|
|
3460
|
-
element.
|
|
3458
|
+
element.mc7();
|
|
3461
3459
|
}
|
|
3462
|
-
this.
|
|
3463
|
-
this.
|
|
3460
|
+
this.wc5_1.a3();
|
|
3461
|
+
this.vc5_1.a3();
|
|
3464
3462
|
};
|
|
3465
3463
|
function minimalProverEnv(from) {
|
|
3466
3464
|
from = from === VOID ? get_nodeProcess().env : from;
|
|
@@ -3509,37 +3507,37 @@ function toJsObject(_this__u8e3s4) {
|
|
|
3509
3507
|
return target;
|
|
3510
3508
|
}
|
|
3511
3509
|
function Message(text) {
|
|
3512
|
-
this.
|
|
3510
|
+
this.oc7_1 = text;
|
|
3513
3511
|
}
|
|
3514
3512
|
protoOf(Message).toString = function () {
|
|
3515
|
-
return 'Message(text=' + this.
|
|
3513
|
+
return 'Message(text=' + this.oc7_1 + ')';
|
|
3516
3514
|
};
|
|
3517
3515
|
protoOf(Message).hashCode = function () {
|
|
3518
|
-
return getStringHashCode(this.
|
|
3516
|
+
return getStringHashCode(this.oc7_1);
|
|
3519
3517
|
};
|
|
3520
3518
|
protoOf(Message).equals = function (other) {
|
|
3521
3519
|
if (this === other)
|
|
3522
3520
|
return true;
|
|
3523
3521
|
if (!(other instanceof Message))
|
|
3524
3522
|
return false;
|
|
3525
|
-
if (!(this.
|
|
3523
|
+
if (!(this.oc7_1 === other.oc7_1))
|
|
3526
3524
|
return false;
|
|
3527
3525
|
return true;
|
|
3528
3526
|
};
|
|
3529
3527
|
function Exited(code, signal, error) {
|
|
3530
3528
|
error = error === VOID ? null : error;
|
|
3531
|
-
this.
|
|
3532
|
-
this.
|
|
3533
|
-
this.
|
|
3529
|
+
this.pc7_1 = code;
|
|
3530
|
+
this.qc7_1 = signal;
|
|
3531
|
+
this.rc7_1 = error;
|
|
3534
3532
|
}
|
|
3535
|
-
protoOf(Exited).
|
|
3536
|
-
return this.
|
|
3533
|
+
protoOf(Exited).sc7 = function () {
|
|
3534
|
+
return this.qc7_1 === 'SIGKILL' ? KillCause_OUT_OF_MEMORY_getInstance() : KillCause_EXITED_getInstance();
|
|
3537
3535
|
};
|
|
3538
|
-
protoOf(Exited).
|
|
3539
|
-
var tmp0_elvis_lhs = this.
|
|
3536
|
+
protoOf(Exited).tc7 = function () {
|
|
3537
|
+
var tmp0_elvis_lhs = this.rc7_1;
|
|
3540
3538
|
var tmp;
|
|
3541
3539
|
if (tmp0_elvis_lhs == null) {
|
|
3542
|
-
var tmp1_safe_receiver = this.
|
|
3540
|
+
var tmp1_safe_receiver = this.qc7_1;
|
|
3543
3541
|
var tmp_0;
|
|
3544
3542
|
if (tmp1_safe_receiver == null) {
|
|
3545
3543
|
tmp_0 = null;
|
|
@@ -3552,15 +3550,15 @@ protoOf(Exited).rc7 = function () {
|
|
|
3552
3550
|
tmp = tmp0_elvis_lhs;
|
|
3553
3551
|
}
|
|
3554
3552
|
var tmp2_elvis_lhs = tmp;
|
|
3555
|
-
return tmp2_elvis_lhs == null ? 'exit code ' + this.
|
|
3553
|
+
return tmp2_elvis_lhs == null ? 'exit code ' + this.pc7_1 : tmp2_elvis_lhs;
|
|
3556
3554
|
};
|
|
3557
3555
|
protoOf(Exited).toString = function () {
|
|
3558
|
-
return 'Exited(code=' + this.
|
|
3556
|
+
return 'Exited(code=' + this.pc7_1 + ', signal=' + this.qc7_1 + ', error=' + this.rc7_1 + ')';
|
|
3559
3557
|
};
|
|
3560
3558
|
protoOf(Exited).hashCode = function () {
|
|
3561
|
-
var result = this.
|
|
3562
|
-
result = imul(result, 31) + (this.
|
|
3563
|
-
result = imul(result, 31) + (this.
|
|
3559
|
+
var result = this.pc7_1 == null ? 0 : this.pc7_1;
|
|
3560
|
+
result = imul(result, 31) + (this.qc7_1 == null ? 0 : getStringHashCode(this.qc7_1)) | 0;
|
|
3561
|
+
result = imul(result, 31) + (this.rc7_1 == null ? 0 : getStringHashCode(this.rc7_1)) | 0;
|
|
3564
3562
|
return result;
|
|
3565
3563
|
};
|
|
3566
3564
|
protoOf(Exited).equals = function (other) {
|
|
@@ -3568,11 +3566,11 @@ protoOf(Exited).equals = function (other) {
|
|
|
3568
3566
|
return true;
|
|
3569
3567
|
if (!(other instanceof Exited))
|
|
3570
3568
|
return false;
|
|
3571
|
-
if (!(this.
|
|
3569
|
+
if (!(this.pc7_1 == other.pc7_1))
|
|
3572
3570
|
return false;
|
|
3573
|
-
if (!(this.
|
|
3571
|
+
if (!(this.qc7_1 == other.qc7_1))
|
|
3574
3572
|
return false;
|
|
3575
|
-
if (!(this.
|
|
3573
|
+
if (!(this.rc7_1 == other.rc7_1))
|
|
3576
3574
|
return false;
|
|
3577
3575
|
return true;
|
|
3578
3576
|
};
|
|
@@ -3588,14 +3586,14 @@ function emit($this, stream, line) {
|
|
|
3588
3586
|
var text = trimEnd(line, charArrayOf([_Char___init__impl__6a9atx(13)]));
|
|
3589
3587
|
if (isBlank(text))
|
|
3590
3588
|
return Unit_instance;
|
|
3591
|
-
$this.
|
|
3589
|
+
$this.ac6_1($this.dc6_1, stream, ProverOutput_getInstance().l76(text));
|
|
3592
3590
|
}
|
|
3593
3591
|
function ForkedChild$lambda(this$0) {
|
|
3594
3592
|
return function (message) {
|
|
3595
3593
|
var tmp;
|
|
3596
3594
|
if (typeof message === 'string') {
|
|
3597
3595
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3598
|
-
this$0.
|
|
3596
|
+
this$0.cc6_1.h1f(new Message(message));
|
|
3599
3597
|
tmp = Unit_instance;
|
|
3600
3598
|
}
|
|
3601
3599
|
return Unit_instance;
|
|
@@ -3603,28 +3601,28 @@ function ForkedChild$lambda(this$0) {
|
|
|
3603
3601
|
}
|
|
3604
3602
|
function ForkedChild$lambda_0(this$0) {
|
|
3605
3603
|
return function (code, signal) {
|
|
3606
|
-
this$0.
|
|
3604
|
+
this$0.fc6_1 = true;
|
|
3607
3605
|
var tmp0_safe_receiver = isNumber(code) ? code : null;
|
|
3608
3606
|
var tmp = tmp0_safe_receiver == null ? null : numberToInt(tmp0_safe_receiver);
|
|
3609
3607
|
var exit = new Exited(tmp, (!(signal == null) ? typeof signal === 'string' : false) ? signal : null);
|
|
3610
|
-
var tmp_0 = to('pid', this$0.
|
|
3611
|
-
var tmp1_safe_receiver = exit.
|
|
3612
|
-
this$0.
|
|
3613
|
-
return new ChannelResult(this$0.
|
|
3608
|
+
var tmp_0 = to('pid', this$0.dc6_1);
|
|
3609
|
+
var tmp1_safe_receiver = exit.pc7_1;
|
|
3610
|
+
this$0.bc6_1('prover exited', false, listOf([tmp_0, to('code', tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString()), to('signal', exit.qc7_1), to('killedBySdk', this$0.gc6_1.toString())]));
|
|
3611
|
+
return new ChannelResult(this$0.cc6_1.h1f(exit));
|
|
3614
3612
|
};
|
|
3615
3613
|
}
|
|
3616
3614
|
function ForkedChild$lambda_1(this$0) {
|
|
3617
3615
|
return function (error) {
|
|
3618
|
-
this$0.
|
|
3616
|
+
this$0.fc6_1 = true;
|
|
3619
3617
|
var tmp1_elvis_lhs = error == null ? null : error.message;
|
|
3620
|
-
return new ChannelResult(this$0.
|
|
3618
|
+
return new ChannelResult(this$0.cc6_1.h1f(new Exited(null, null, 'the prover process failed: ' + (tmp1_elvis_lhs == null ? 'no detail' : tmp1_elvis_lhs))));
|
|
3621
3619
|
};
|
|
3622
3620
|
}
|
|
3623
3621
|
function ForkedChild$end$lambda(this$0) {
|
|
3624
3622
|
return function () {
|
|
3625
3623
|
var tmp;
|
|
3626
|
-
if (!this$0.
|
|
3627
|
-
this$0.
|
|
3624
|
+
if (!this$0.fc6_1) {
|
|
3625
|
+
this$0.mc7();
|
|
3628
3626
|
tmp = Unit_instance;
|
|
3629
3627
|
}
|
|
3630
3628
|
return Unit_instance;
|
|
@@ -3657,32 +3655,32 @@ function ForkedChild$pipe$lambda_0($pending, this$0, $name) {
|
|
|
3657
3655
|
};
|
|
3658
3656
|
}
|
|
3659
3657
|
function ForkedChild(process, onLine, onNotice) {
|
|
3660
|
-
this.
|
|
3661
|
-
this.
|
|
3662
|
-
this.
|
|
3663
|
-
this.
|
|
3658
|
+
this.zc5_1 = process;
|
|
3659
|
+
this.ac6_1 = onLine;
|
|
3660
|
+
this.bc6_1 = onNotice;
|
|
3661
|
+
this.cc6_1 = Channel(2147483647);
|
|
3664
3662
|
var tmp = this;
|
|
3665
|
-
var tmp_0 = this.
|
|
3663
|
+
var tmp_0 = this.zc5_1.pid;
|
|
3666
3664
|
var tmp0_safe_receiver = isNumber(tmp_0) ? tmp_0 : null;
|
|
3667
3665
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toString_0(tmp0_safe_receiver);
|
|
3668
|
-
tmp.
|
|
3669
|
-
this.
|
|
3670
|
-
this.
|
|
3671
|
-
this.
|
|
3672
|
-
this.
|
|
3673
|
-
this.
|
|
3674
|
-
this.
|
|
3675
|
-
pipe(this, this.
|
|
3676
|
-
pipe(this, this.
|
|
3677
|
-
}
|
|
3678
|
-
protoOf(ForkedChild).
|
|
3666
|
+
tmp.dc6_1 = tmp1_elvis_lhs == null ? '?' : tmp1_elvis_lhs;
|
|
3667
|
+
this.ec6_1 = 0;
|
|
3668
|
+
this.fc6_1 = false;
|
|
3669
|
+
this.gc6_1 = false;
|
|
3670
|
+
this.zc5_1.on('message', ForkedChild$lambda(this));
|
|
3671
|
+
this.zc5_1.on('exit', ForkedChild$lambda_0(this));
|
|
3672
|
+
this.zc5_1.on('error', ForkedChild$lambda_1(this));
|
|
3673
|
+
pipe(this, this.zc5_1.stdout, 'stdout');
|
|
3674
|
+
pipe(this, this.zc5_1.stderr, 'stderr');
|
|
3675
|
+
}
|
|
3676
|
+
protoOf(ForkedChild).nc7 = function (text) {
|
|
3679
3677
|
var tmp;
|
|
3680
3678
|
try {
|
|
3681
3679
|
var tmp_0;
|
|
3682
|
-
if (this.
|
|
3680
|
+
if (this.fc6_1 || this.zc5_1.connected != true) {
|
|
3683
3681
|
tmp_0 = false;
|
|
3684
3682
|
} else {
|
|
3685
|
-
this.
|
|
3683
|
+
this.zc5_1.send(text);
|
|
3686
3684
|
tmp_0 = true;
|
|
3687
3685
|
}
|
|
3688
3686
|
tmp = tmp_0;
|
|
@@ -3698,15 +3696,15 @@ protoOf(ForkedChild).lc7 = function (text) {
|
|
|
3698
3696
|
}
|
|
3699
3697
|
return tmp;
|
|
3700
3698
|
};
|
|
3701
|
-
protoOf(ForkedChild).
|
|
3702
|
-
if (this.
|
|
3699
|
+
protoOf(ForkedChild).mc7 = function () {
|
|
3700
|
+
if (this.fc6_1)
|
|
3703
3701
|
return Unit_instance;
|
|
3704
|
-
this.
|
|
3702
|
+
this.gc6_1 = true;
|
|
3705
3703
|
// Inline function 'kotlin.runCatching' call
|
|
3706
3704
|
var tmp;
|
|
3707
3705
|
try {
|
|
3708
3706
|
// Inline function 'kotlin.Companion.success' call
|
|
3709
|
-
var value = this.
|
|
3707
|
+
var value = this.zc5_1.kill('SIGKILL');
|
|
3710
3708
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
3711
3709
|
} catch ($p) {
|
|
3712
3710
|
var tmp_0;
|
|
@@ -3720,14 +3718,14 @@ protoOf(ForkedChild).kc7 = function () {
|
|
|
3720
3718
|
tmp = tmp_0;
|
|
3721
3719
|
}
|
|
3722
3720
|
};
|
|
3723
|
-
protoOf(ForkedChild).
|
|
3724
|
-
if (this.
|
|
3721
|
+
protoOf(ForkedChild).hc6 = function (grace) {
|
|
3722
|
+
if (this.fc6_1)
|
|
3725
3723
|
return Unit_instance;
|
|
3726
3724
|
// Inline function 'kotlin.runCatching' call
|
|
3727
3725
|
var tmp;
|
|
3728
3726
|
try {
|
|
3729
|
-
if (this.
|
|
3730
|
-
this.
|
|
3727
|
+
if (this.zc5_1.connected == true) {
|
|
3728
|
+
this.zc5_1.disconnect();
|
|
3731
3729
|
}
|
|
3732
3730
|
// Inline function 'kotlin.Companion.success' call
|
|
3733
3731
|
tmp = _Result___init__impl__xyqfz8(Unit_instance);
|
|
@@ -3774,20 +3772,20 @@ function NodeWasmProver$prove$slambda$slambda$lambda(line) {
|
|
|
3774
3772
|
return Unit_instance;
|
|
3775
3773
|
}
|
|
3776
3774
|
function NodeWasmProver$prove$slambda$slambda($proof, $config, $host, this$0, resultContinuation) {
|
|
3777
|
-
this.
|
|
3778
|
-
this.
|
|
3779
|
-
this.
|
|
3780
|
-
this.
|
|
3775
|
+
this.cc8_1 = $proof;
|
|
3776
|
+
this.dc8_1 = $config;
|
|
3777
|
+
this.ec8_1 = $host;
|
|
3778
|
+
this.fc8_1 = this$0;
|
|
3781
3779
|
CoroutineImpl.call(this, resultContinuation);
|
|
3782
3780
|
}
|
|
3783
|
-
protoOf(NodeWasmProver$prove$slambda$slambda).
|
|
3781
|
+
protoOf(NodeWasmProver$prove$slambda$slambda).fbu = function ($this$async, $completion) {
|
|
3784
3782
|
var tmp = this.l1n($this$async, $completion);
|
|
3785
3783
|
tmp.i9_1 = Unit_instance;
|
|
3786
3784
|
tmp.j9_1 = null;
|
|
3787
3785
|
return tmp.o9();
|
|
3788
3786
|
};
|
|
3789
3787
|
protoOf(NodeWasmProver$prove$slambda$slambda).ba = function (p1, $completion) {
|
|
3790
|
-
return this.
|
|
3788
|
+
return this.fbu((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
|
|
3791
3789
|
};
|
|
3792
3790
|
protoOf(NodeWasmProver$prove$slambda$slambda).o9 = function () {
|
|
3793
3791
|
var suspendResult = this.i9_1;
|
|
@@ -3798,9 +3796,9 @@ protoOf(NodeWasmProver$prove$slambda$slambda).o9 = function () {
|
|
|
3798
3796
|
case 0:
|
|
3799
3797
|
this.h9_1 = 2;
|
|
3800
3798
|
this.g9_1 = 1;
|
|
3801
|
-
var tmp_0 = new HostedProofRequest(this.
|
|
3802
|
-
var tmp_1 = this.
|
|
3803
|
-
suspendResult = runHostedProof(tmp_0, this.
|
|
3799
|
+
var tmp_0 = new HostedProofRequest(this.cc8_1.wby_1, this.cc8_1.xby_1, this.cc8_1.yby_1);
|
|
3800
|
+
var tmp_1 = this.fc8_1.hc8_1.fo();
|
|
3801
|
+
suspendResult = runHostedProof(tmp_0, this.dc8_1, this.ec8_1, tmp_1, NodeWasmProver$prove$slambda$slambda$lambda, this);
|
|
3804
3802
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3805
3803
|
return suspendResult;
|
|
3806
3804
|
}
|
|
@@ -3823,27 +3821,27 @@ protoOf(NodeWasmProver$prove$slambda$slambda).o9 = function () {
|
|
|
3823
3821
|
while (true);
|
|
3824
3822
|
};
|
|
3825
3823
|
protoOf(NodeWasmProver$prove$slambda$slambda).l1n = function ($this$async, completion) {
|
|
3826
|
-
var i = new NodeWasmProver$prove$slambda$slambda(this.
|
|
3827
|
-
i.
|
|
3824
|
+
var i = new NodeWasmProver$prove$slambda$slambda(this.cc8_1, this.dc8_1, this.ec8_1, this.fc8_1, completion);
|
|
3825
|
+
i.gc8_1 = $this$async;
|
|
3828
3826
|
return i;
|
|
3829
3827
|
};
|
|
3830
3828
|
function NodeWasmProver$prove$slambda$slambda_0($proof, $config, $host, this$0, resultContinuation) {
|
|
3831
3829
|
var i = new NodeWasmProver$prove$slambda$slambda($proof, $config, $host, this$0, resultContinuation);
|
|
3832
3830
|
return constructCallableReference(function ($this$async, $completion) {
|
|
3833
|
-
return i.
|
|
3831
|
+
return i.fbu($this$async, $completion);
|
|
3834
3832
|
}, 1);
|
|
3835
3833
|
}
|
|
3836
3834
|
function NodeWasmProver$prove$slambda$slambda_1(resultContinuation) {
|
|
3837
3835
|
CoroutineImpl.call(this, resultContinuation);
|
|
3838
3836
|
}
|
|
3839
|
-
protoOf(NodeWasmProver$prove$slambda$slambda_1).
|
|
3840
|
-
var tmp = this.
|
|
3837
|
+
protoOf(NodeWasmProver$prove$slambda$slambda_1).rc8 = function (presentation, $completion) {
|
|
3838
|
+
var tmp = this.sc8(presentation, $completion);
|
|
3841
3839
|
tmp.i9_1 = Unit_instance;
|
|
3842
3840
|
tmp.j9_1 = null;
|
|
3843
3841
|
return tmp.o9();
|
|
3844
3842
|
};
|
|
3845
3843
|
protoOf(NodeWasmProver$prove$slambda$slambda_1).ba = function (p1, $completion) {
|
|
3846
|
-
return this.
|
|
3844
|
+
return this.rc8((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
|
|
3847
3845
|
};
|
|
3848
3846
|
protoOf(NodeWasmProver$prove$slambda$slambda_1).o9 = function () {
|
|
3849
3847
|
var suspendResult = this.i9_1;
|
|
@@ -3852,7 +3850,7 @@ protoOf(NodeWasmProver$prove$slambda$slambda_1).o9 = function () {
|
|
|
3852
3850
|
var tmp = this.g9_1;
|
|
3853
3851
|
if (tmp === 0) {
|
|
3854
3852
|
this.h9_1 = 1;
|
|
3855
|
-
return new Proved_1(this.
|
|
3853
|
+
return new Proved_1(this.qc8_1);
|
|
3856
3854
|
} else if (tmp === 1) {
|
|
3857
3855
|
throw this.j9_1;
|
|
3858
3856
|
}
|
|
@@ -3862,29 +3860,29 @@ protoOf(NodeWasmProver$prove$slambda$slambda_1).o9 = function () {
|
|
|
3862
3860
|
}
|
|
3863
3861
|
while (true);
|
|
3864
3862
|
};
|
|
3865
|
-
protoOf(NodeWasmProver$prove$slambda$slambda_1).
|
|
3863
|
+
protoOf(NodeWasmProver$prove$slambda$slambda_1).sc8 = function (presentation, completion) {
|
|
3866
3864
|
var i = new NodeWasmProver$prove$slambda$slambda_1(completion);
|
|
3867
|
-
i.
|
|
3865
|
+
i.qc8_1 = presentation;
|
|
3868
3866
|
return i;
|
|
3869
3867
|
};
|
|
3870
3868
|
function NodeWasmProver$prove$slambda$slambda_2(resultContinuation) {
|
|
3871
3869
|
var i = new NodeWasmProver$prove$slambda$slambda_1(resultContinuation);
|
|
3872
3870
|
return constructCallableReference(function (presentation, $completion) {
|
|
3873
|
-
return i.
|
|
3871
|
+
return i.rc8(presentation, $completion);
|
|
3874
3872
|
}, 1);
|
|
3875
3873
|
}
|
|
3876
3874
|
function NodeWasmProver$prove$slambda$slambda_3($proving, resultContinuation) {
|
|
3877
|
-
this.
|
|
3875
|
+
this.bc9_1 = $proving;
|
|
3878
3876
|
CoroutineImpl.call(this, resultContinuation);
|
|
3879
3877
|
}
|
|
3880
|
-
protoOf(NodeWasmProver$prove$slambda$slambda_3).
|
|
3881
|
-
var tmp = this.
|
|
3878
|
+
protoOf(NodeWasmProver$prove$slambda$slambda_3).dc9 = function (failure, $completion) {
|
|
3879
|
+
var tmp = this.ec9(failure, $completion);
|
|
3882
3880
|
tmp.i9_1 = Unit_instance;
|
|
3883
3881
|
tmp.j9_1 = null;
|
|
3884
3882
|
return tmp.o9();
|
|
3885
3883
|
};
|
|
3886
3884
|
protoOf(NodeWasmProver$prove$slambda$slambda_3).ba = function (p1, $completion) {
|
|
3887
|
-
return this.
|
|
3885
|
+
return this.dc9((!(p1 == null) ? isInterface(p1, ProofFailure) : false) ? p1 : THROW_CCE(), $completion);
|
|
3888
3886
|
};
|
|
3889
3887
|
protoOf(NodeWasmProver$prove$slambda$slambda_3).o9 = function () {
|
|
3890
3888
|
var suspendResult = this.i9_1;
|
|
@@ -3893,8 +3891,8 @@ protoOf(NodeWasmProver$prove$slambda$slambda_3).o9 = function () {
|
|
|
3893
3891
|
var tmp = this.g9_1;
|
|
3894
3892
|
if (tmp === 0) {
|
|
3895
3893
|
this.h9_1 = 1;
|
|
3896
|
-
this.
|
|
3897
|
-
return new Failed_1(this.
|
|
3894
|
+
this.bc9_1.sx();
|
|
3895
|
+
return new Failed_1(this.cc9_1, true);
|
|
3898
3896
|
} else if (tmp === 1) {
|
|
3899
3897
|
throw this.j9_1;
|
|
3900
3898
|
}
|
|
@@ -3904,15 +3902,15 @@ protoOf(NodeWasmProver$prove$slambda$slambda_3).o9 = function () {
|
|
|
3904
3902
|
}
|
|
3905
3903
|
while (true);
|
|
3906
3904
|
};
|
|
3907
|
-
protoOf(NodeWasmProver$prove$slambda$slambda_3).
|
|
3908
|
-
var i = new NodeWasmProver$prove$slambda$slambda_3(this.
|
|
3909
|
-
i.
|
|
3905
|
+
protoOf(NodeWasmProver$prove$slambda$slambda_3).ec9 = function (failure, completion) {
|
|
3906
|
+
var i = new NodeWasmProver$prove$slambda$slambda_3(this.bc9_1, completion);
|
|
3907
|
+
i.cc9_1 = failure;
|
|
3910
3908
|
return i;
|
|
3911
3909
|
};
|
|
3912
3910
|
function NodeWasmProver$prove$slambda$slambda_4($proving, resultContinuation) {
|
|
3913
3911
|
var i = new NodeWasmProver$prove$slambda$slambda_3($proving, resultContinuation);
|
|
3914
3912
|
return constructCallableReference(function (failure, $completion) {
|
|
3915
|
-
return i.
|
|
3913
|
+
return i.dc9(failure, $completion);
|
|
3916
3914
|
}, 1);
|
|
3917
3915
|
}
|
|
3918
3916
|
function printStats($this, started) {
|
|
@@ -3928,21 +3926,21 @@ function printStats($this, started) {
|
|
|
3928
3926
|
function classify($this, error, record) {
|
|
3929
3927
|
var tmp = generateSequence(error, NodeWasmProver$classify$lambda);
|
|
3930
3928
|
var message = joinToString_0(distinct(mapNotNull(tmp, NodeWasmProver$classify$lambda_0)), ': ');
|
|
3931
|
-
var tmp0_safe_receiver = record.
|
|
3929
|
+
var tmp0_safe_receiver = record.mc9_1;
|
|
3932
3930
|
if (tmp0_safe_receiver == null)
|
|
3933
3931
|
null;
|
|
3934
3932
|
else {
|
|
3935
3933
|
// Inline function 'kotlin.let' call
|
|
3936
3934
|
return new Other('the upgrade could not be signed: ' + tmp0_safe_receiver);
|
|
3937
3935
|
}
|
|
3938
|
-
var tmp1_elvis_lhs = ProofFailures_getInstance().
|
|
3936
|
+
var tmp1_elvis_lhs = ProofFailures_getInstance().aav(record.hc9_1, record.ic9_1, record.jc9_1, record.lc9_1, record.kc9_1, !record.fc9_1 || record.gc9_1 || !(record.hc9_1 == null), message);
|
|
3939
3937
|
return tmp1_elvis_lhs == null ? new Other(message) : tmp1_elvis_lhs;
|
|
3940
3938
|
}
|
|
3941
3939
|
function Companion_14() {
|
|
3942
3940
|
Companion_instance_17 = this;
|
|
3943
|
-
this.
|
|
3944
|
-
this.
|
|
3945
|
-
this.
|
|
3941
|
+
this.oc9_1 = numberRangeToNumber(200, 299);
|
|
3942
|
+
this.pc9_1 = new Long(1000, 0);
|
|
3943
|
+
this.qc9_1 = new Long(1024, 0);
|
|
3946
3944
|
}
|
|
3947
3945
|
var Companion_instance_17;
|
|
3948
3946
|
function Companion_getInstance_17() {
|
|
@@ -3952,22 +3950,22 @@ function Companion_getInstance_17() {
|
|
|
3952
3950
|
}
|
|
3953
3951
|
function NodeWasmProver$prove$lambda($settings) {
|
|
3954
3952
|
return function (path) {
|
|
3955
|
-
var tmp = com_dmarket_p2p_headless_node_nodePath_idbzon.join($settings.
|
|
3953
|
+
var tmp = com_dmarket_p2p_headless_node_nodePath_idbzon.join($settings.lby_1, path);
|
|
3956
3954
|
return fileUrl((!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : THROW_CCE());
|
|
3957
3955
|
};
|
|
3958
3956
|
}
|
|
3959
3957
|
function NodeWasmProver$prove$slambda($settings, resultContinuation) {
|
|
3960
|
-
this.
|
|
3958
|
+
this.zc9_1 = $settings;
|
|
3961
3959
|
CoroutineImpl.call(this, resultContinuation);
|
|
3962
3960
|
}
|
|
3963
|
-
protoOf(NodeWasmProver$prove$slambda).
|
|
3961
|
+
protoOf(NodeWasmProver$prove$slambda).aca = function ($completion) {
|
|
3964
3962
|
var tmp = this.d31($completion);
|
|
3965
3963
|
tmp.i9_1 = Unit_instance;
|
|
3966
3964
|
tmp.j9_1 = null;
|
|
3967
3965
|
return tmp.o9();
|
|
3968
3966
|
};
|
|
3969
3967
|
protoOf(NodeWasmProver$prove$slambda).aa = function ($completion) {
|
|
3970
|
-
return this.
|
|
3968
|
+
return this.aca($completion);
|
|
3971
3969
|
};
|
|
3972
3970
|
protoOf(NodeWasmProver$prove$slambda).o9 = function () {
|
|
3973
3971
|
var suspendResult = this.i9_1;
|
|
@@ -3978,7 +3976,7 @@ protoOf(NodeWasmProver$prove$slambda).o9 = function () {
|
|
|
3978
3976
|
case 0:
|
|
3979
3977
|
this.h9_1 = 2;
|
|
3980
3978
|
this.g9_1 = 1;
|
|
3981
|
-
var tmp_0 = com_dmarket_p2p_headless_node_nodePath_idbzon.join(this.
|
|
3979
|
+
var tmp_0 = com_dmarket_p2p_headless_node_nodePath_idbzon.join(this.zc9_1.lby_1, 'pkg', 'client_wasm_bg.wasm');
|
|
3982
3980
|
suspendResult = compileWasm((!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : THROW_CCE(), this);
|
|
3983
3981
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3984
3982
|
return suspendResult;
|
|
@@ -4002,27 +4000,27 @@ protoOf(NodeWasmProver$prove$slambda).o9 = function () {
|
|
|
4002
4000
|
while (true);
|
|
4003
4001
|
};
|
|
4004
4002
|
protoOf(NodeWasmProver$prove$slambda).d31 = function (completion) {
|
|
4005
|
-
return new NodeWasmProver$prove$slambda(this.
|
|
4003
|
+
return new NodeWasmProver$prove$slambda(this.zc9_1, completion);
|
|
4006
4004
|
};
|
|
4007
4005
|
function NodeWasmProver$prove$slambda_0($settings, resultContinuation) {
|
|
4008
4006
|
var i = new NodeWasmProver$prove$slambda($settings, resultContinuation);
|
|
4009
4007
|
return constructCallableReference(function ($completion) {
|
|
4010
|
-
return i.
|
|
4008
|
+
return i.aca($completion);
|
|
4011
4009
|
}, 0);
|
|
4012
4010
|
}
|
|
4013
4011
|
function NodeWasmProver$prove$slambda_1($record, $headers, resultContinuation) {
|
|
4014
|
-
this.
|
|
4015
|
-
this.
|
|
4012
|
+
this.jca_1 = $record;
|
|
4013
|
+
this.kca_1 = $headers;
|
|
4016
4014
|
CoroutineImpl.call(this, resultContinuation);
|
|
4017
4015
|
}
|
|
4018
|
-
protoOf(NodeWasmProver$prove$slambda_1).
|
|
4016
|
+
protoOf(NodeWasmProver$prove$slambda_1).aca = function ($completion) {
|
|
4019
4017
|
var tmp = this.d31($completion);
|
|
4020
4018
|
tmp.i9_1 = Unit_instance;
|
|
4021
4019
|
tmp.j9_1 = null;
|
|
4022
4020
|
return tmp.o9();
|
|
4023
4021
|
};
|
|
4024
4022
|
protoOf(NodeWasmProver$prove$slambda_1).aa = function ($completion) {
|
|
4025
|
-
return this.
|
|
4023
|
+
return this.aca($completion);
|
|
4026
4024
|
};
|
|
4027
4025
|
protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
4028
4026
|
var suspendResult = this.i9_1;
|
|
@@ -4032,17 +4030,17 @@ protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
|
4032
4030
|
switch (tmp) {
|
|
4033
4031
|
case 0:
|
|
4034
4032
|
this.h9_1 = 4;
|
|
4035
|
-
this.
|
|
4033
|
+
this.jca_1.fc9_1 = true;
|
|
4036
4034
|
this.h9_1 = 2;
|
|
4037
4035
|
this.g9_1 = 1;
|
|
4038
|
-
suspendResult = this.
|
|
4036
|
+
suspendResult = this.kca_1(this);
|
|
4039
4037
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4040
4038
|
return suspendResult;
|
|
4041
4039
|
}
|
|
4042
4040
|
|
|
4043
4041
|
continue $sm;
|
|
4044
4042
|
case 1:
|
|
4045
|
-
this.
|
|
4043
|
+
this.lca_1 = suspendResult;
|
|
4046
4044
|
this.h9_1 = 4;
|
|
4047
4045
|
this.g9_1 = 3;
|
|
4048
4046
|
continue $sm;
|
|
@@ -4058,9 +4056,9 @@ protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
|
4058
4056
|
if (tmp_2 instanceof Error) {
|
|
4059
4057
|
var e_0 = this.j9_1;
|
|
4060
4058
|
var tmp_3 = this;
|
|
4061
|
-
var tmp_4 = this.
|
|
4059
|
+
var tmp_4 = this.jca_1;
|
|
4062
4060
|
var tmp0_elvis_lhs = e_0.message;
|
|
4063
|
-
tmp_4.
|
|
4061
|
+
tmp_4.mc9_1 = tmp0_elvis_lhs == null ? 'the upgrade could not be signed' : tmp0_elvis_lhs;
|
|
4064
4062
|
throw e_0;
|
|
4065
4063
|
} else {
|
|
4066
4064
|
throw this.j9_1;
|
|
@@ -4069,8 +4067,8 @@ protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
|
4069
4067
|
|
|
4070
4068
|
case 3:
|
|
4071
4069
|
this.h9_1 = 4;
|
|
4072
|
-
var signed = this.
|
|
4073
|
-
return headerWebSocket(signed.
|
|
4070
|
+
var signed = this.lca_1;
|
|
4071
|
+
return headerWebSocket(signed.tau_1, this.jca_1);
|
|
4074
4072
|
case 4:
|
|
4075
4073
|
throw this.j9_1;
|
|
4076
4074
|
}
|
|
@@ -4086,24 +4084,24 @@ protoOf(NodeWasmProver$prove$slambda_1).o9 = function () {
|
|
|
4086
4084
|
while (true);
|
|
4087
4085
|
};
|
|
4088
4086
|
protoOf(NodeWasmProver$prove$slambda_1).d31 = function (completion) {
|
|
4089
|
-
return new NodeWasmProver$prove$slambda_1(this.
|
|
4087
|
+
return new NodeWasmProver$prove$slambda_1(this.jca_1, this.kca_1, completion);
|
|
4090
4088
|
};
|
|
4091
4089
|
function NodeWasmProver$prove$slambda_2($record, $headers, resultContinuation) {
|
|
4092
4090
|
var i = new NodeWasmProver$prove$slambda_1($record, $headers, resultContinuation);
|
|
4093
4091
|
return constructCallableReference(function ($completion) {
|
|
4094
|
-
return i.
|
|
4092
|
+
return i.aca($completion);
|
|
4095
4093
|
}, 0);
|
|
4096
4094
|
}
|
|
4097
4095
|
function NodeWasmProver$prove$lambda_0($settings, $record, $targetConnector) {
|
|
4098
4096
|
return function (serverName, port) {
|
|
4099
|
-
var tmp0_elvis_lhs = $settings.
|
|
4097
|
+
var tmp0_elvis_lhs = $settings.nby_1;
|
|
4100
4098
|
return recordedTargetChannel(tmp0_elvis_lhs == null ? serverName + ':' + port : tmp0_elvis_lhs, $record, VOID, $targetConnector);
|
|
4101
4099
|
};
|
|
4102
4100
|
}
|
|
4103
4101
|
function NodeWasmProver$prove$lambda_1($record) {
|
|
4104
4102
|
return function (status) {
|
|
4105
|
-
$record.
|
|
4106
|
-
var progression = Companion_getInstance_17().
|
|
4103
|
+
$record.lc9_1 = status;
|
|
4104
|
+
var progression = Companion_getInstance_17().oc9_1;
|
|
4107
4105
|
var containsLower = progression.s1_1;
|
|
4108
4106
|
var containsUpper = progression.t1_1;
|
|
4109
4107
|
// Inline function 'kotlin.check' call
|
|
@@ -4121,21 +4119,21 @@ function NodeWasmProver$prove$lambda_2($refused) {
|
|
|
4121
4119
|
};
|
|
4122
4120
|
}
|
|
4123
4121
|
function NodeWasmProver$prove$slambda_3($refused, $proof, $config, $host, this$0, resultContinuation) {
|
|
4124
|
-
this.
|
|
4125
|
-
this.
|
|
4126
|
-
this.
|
|
4127
|
-
this.
|
|
4128
|
-
this.
|
|
4122
|
+
this.uca_1 = $refused;
|
|
4123
|
+
this.vca_1 = $proof;
|
|
4124
|
+
this.wca_1 = $config;
|
|
4125
|
+
this.xca_1 = $host;
|
|
4126
|
+
this.yca_1 = this$0;
|
|
4129
4127
|
CoroutineImpl.call(this, resultContinuation);
|
|
4130
4128
|
}
|
|
4131
|
-
protoOf(NodeWasmProver$prove$slambda_3).
|
|
4129
|
+
protoOf(NodeWasmProver$prove$slambda_3).acb = function ($this$coroutineScope, $completion) {
|
|
4132
4130
|
var tmp = this.l1n($this$coroutineScope, $completion);
|
|
4133
4131
|
tmp.i9_1 = Unit_instance;
|
|
4134
4132
|
tmp.j9_1 = null;
|
|
4135
4133
|
return tmp.o9();
|
|
4136
4134
|
};
|
|
4137
4135
|
protoOf(NodeWasmProver$prove$slambda_3).ba = function (p1, $completion) {
|
|
4138
|
-
return this.
|
|
4136
|
+
return this.acb((!(p1 == null) ? isInterface(p1, CoroutineScope_0) : false) ? p1 : THROW_CCE(), $completion);
|
|
4139
4137
|
};
|
|
4140
4138
|
protoOf(NodeWasmProver$prove$slambda_3).o9 = function () {
|
|
4141
4139
|
var suspendResult = this.i9_1;
|
|
@@ -4145,11 +4143,11 @@ protoOf(NodeWasmProver$prove$slambda_3).o9 = function () {
|
|
|
4145
4143
|
switch (tmp) {
|
|
4146
4144
|
case 0:
|
|
4147
4145
|
this.h9_1 = 2;
|
|
4148
|
-
var proving = async(this.
|
|
4146
|
+
var proving = async(this.zca_1, VOID, VOID, NodeWasmProver$prove$slambda$slambda_0(this.vca_1, this.wca_1, this.xca_1, this.yca_1, null));
|
|
4149
4147
|
var $this$run = new SelectImplementation(this.m9());
|
|
4150
4148
|
var tmp_0 = proving.l11();
|
|
4151
4149
|
$this$run.a1s(tmp_0, NodeWasmProver$prove$slambda$slambda_2(null));
|
|
4152
|
-
var tmp_1 = this.
|
|
4150
|
+
var tmp_1 = this.uca_1.l11();
|
|
4153
4151
|
$this$run.a1s(tmp_1, NodeWasmProver$prove$slambda$slambda_4(proving, null));
|
|
4154
4152
|
this.g9_1 = 1;
|
|
4155
4153
|
suspendResult = $this$run.z1r(this);
|
|
@@ -4175,14 +4173,14 @@ protoOf(NodeWasmProver$prove$slambda_3).o9 = function () {
|
|
|
4175
4173
|
while (true);
|
|
4176
4174
|
};
|
|
4177
4175
|
protoOf(NodeWasmProver$prove$slambda_3).l1n = function ($this$coroutineScope, completion) {
|
|
4178
|
-
var i = new NodeWasmProver$prove$slambda_3(this.
|
|
4179
|
-
i.
|
|
4176
|
+
var i = new NodeWasmProver$prove$slambda_3(this.uca_1, this.vca_1, this.wca_1, this.xca_1, this.yca_1, completion);
|
|
4177
|
+
i.zca_1 = $this$coroutineScope;
|
|
4180
4178
|
return i;
|
|
4181
4179
|
};
|
|
4182
4180
|
function NodeWasmProver$prove$slambda_4($refused, $proof, $config, $host, this$0, resultContinuation) {
|
|
4183
4181
|
var i = new NodeWasmProver$prove$slambda_3($refused, $proof, $config, $host, this$0, resultContinuation);
|
|
4184
4182
|
return constructCallableReference(function ($this$coroutineScope, $completion) {
|
|
4185
|
-
return i.
|
|
4183
|
+
return i.acb($this$coroutineScope, $completion);
|
|
4186
4184
|
}, 1);
|
|
4187
4185
|
}
|
|
4188
4186
|
function NodeWasmProver$classify$lambda(it) {
|
|
@@ -4193,9 +4191,9 @@ function NodeWasmProver$classify$lambda_0(it) {
|
|
|
4193
4191
|
}
|
|
4194
4192
|
function $proveCOROUTINE$_0(_this__u8e3s4, proof, headers, resultContinuation) {
|
|
4195
4193
|
CoroutineImpl.call(this, resultContinuation);
|
|
4196
|
-
this.
|
|
4197
|
-
this.
|
|
4198
|
-
this.
|
|
4194
|
+
this.jcb_1 = _this__u8e3s4;
|
|
4195
|
+
this.kcb_1 = proof;
|
|
4196
|
+
this.lcb_1 = headers;
|
|
4199
4197
|
}
|
|
4200
4198
|
protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
4201
4199
|
var suspendResult = this.i9_1;
|
|
@@ -4206,34 +4204,34 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
4206
4204
|
case 0:
|
|
4207
4205
|
this.h9_1 = 6;
|
|
4208
4206
|
installBrowserWorker();
|
|
4209
|
-
var settings = this.
|
|
4210
|
-
this.
|
|
4211
|
-
var targetConnector = nodeTcpConnector(settings.
|
|
4207
|
+
var settings = this.kcb_1.zby_1;
|
|
4208
|
+
this.ocb_1 = new ProverSessionRecord();
|
|
4209
|
+
var targetConnector = nodeTcpConnector(settings.lby_1);
|
|
4212
4210
|
var tmp_0 = this;
|
|
4213
4211
|
var tmp_1 = NodeWasmProver$prove$lambda(settings);
|
|
4214
4212
|
var tmp_2 = NodeWasmProver$prove$slambda_0(settings, null);
|
|
4215
|
-
var tmp_3 = NodeWasmProver$prove$slambda_2(this.
|
|
4216
|
-
var tmp_4 = NodeWasmProver$prove$lambda_0(settings, this.
|
|
4217
|
-
tmp_0.
|
|
4218
|
-
this.
|
|
4219
|
-
this.
|
|
4220
|
-
this.
|
|
4221
|
-
var tmp_5 = this.
|
|
4222
|
-
tmp_5.
|
|
4213
|
+
var tmp_3 = NodeWasmProver$prove$slambda_2(this.ocb_1, this.lcb_1, null);
|
|
4214
|
+
var tmp_4 = NodeWasmProver$prove$lambda_0(settings, this.ocb_1, targetConnector);
|
|
4215
|
+
tmp_0.pcb_1 = new WasmProverHost(tmp_1, tmp_2, tmp_3, tmp_4, NodeWasmProver$prove$lambda_1(this.ocb_1));
|
|
4216
|
+
this.qcb_1 = new TrackerConfig(VOID, VOID, VOID, VOID, VOID, new NotaryConfig(VOID, settings.jby_1, VOID, VOID, VOID, VOID, settings.kby_1, VOID, VOID, VOID, settings.mby_1));
|
|
4217
|
+
this.mcb_1 = get_nodeProcess().cpuUsage();
|
|
4218
|
+
this.rcb_1 = CompletableDeferred();
|
|
4219
|
+
var tmp_5 = this.ocb_1;
|
|
4220
|
+
tmp_5.nc9_1 = NodeWasmProver$prove$lambda_2(this.rcb_1);
|
|
4223
4221
|
this.g9_1 = 1;
|
|
4224
4222
|
continue $sm;
|
|
4225
4223
|
case 1:
|
|
4226
4224
|
this.h9_1 = 4;
|
|
4227
4225
|
this.h9_1 = 3;
|
|
4228
4226
|
this.g9_1 = 2;
|
|
4229
|
-
suspendResult = coroutineScope(NodeWasmProver$prove$slambda_4(this.
|
|
4227
|
+
suspendResult = coroutineScope(NodeWasmProver$prove$slambda_4(this.rcb_1, this.kcb_1, this.qcb_1, this.pcb_1, this.jcb_1, null), this);
|
|
4230
4228
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4231
4229
|
return suspendResult;
|
|
4232
4230
|
}
|
|
4233
4231
|
|
|
4234
4232
|
continue $sm;
|
|
4235
4233
|
case 2:
|
|
4236
|
-
this.
|
|
4234
|
+
this.ncb_1 = suspendResult;
|
|
4237
4235
|
this.h9_1 = 6;
|
|
4238
4236
|
this.g9_1 = 5;
|
|
4239
4237
|
continue $sm;
|
|
@@ -4249,7 +4247,7 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
4249
4247
|
if (tmp_8 instanceof Error) {
|
|
4250
4248
|
var e_0 = this.j9_1;
|
|
4251
4249
|
var tmp_9 = this;
|
|
4252
|
-
tmp_9.
|
|
4250
|
+
tmp_9.ncb_1 = new Failed_1(classify(this.jcb_1, e_0, this.ocb_1));
|
|
4253
4251
|
this.h9_1 = 6;
|
|
4254
4252
|
this.g9_1 = 5;
|
|
4255
4253
|
continue $sm;
|
|
@@ -4261,12 +4259,12 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
4261
4259
|
case 4:
|
|
4262
4260
|
this.h9_1 = 6;
|
|
4263
4261
|
var t = this.j9_1;
|
|
4264
|
-
printStats(this.
|
|
4262
|
+
printStats(this.jcb_1, this.mcb_1);
|
|
4265
4263
|
throw t;
|
|
4266
4264
|
case 5:
|
|
4267
|
-
var tmp_10 = this.
|
|
4265
|
+
var tmp_10 = this.ncb_1;
|
|
4268
4266
|
this.h9_1 = 6;
|
|
4269
|
-
printStats(this.
|
|
4267
|
+
printStats(this.jcb_1, this.mcb_1);
|
|
4270
4268
|
return tmp_10;
|
|
4271
4269
|
case 6:
|
|
4272
4270
|
throw this.j9_1;
|
|
@@ -4284,9 +4282,9 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
4284
4282
|
};
|
|
4285
4283
|
function NodeWasmProver(clock) {
|
|
4286
4284
|
Companion_getInstance_17();
|
|
4287
|
-
this.
|
|
4285
|
+
this.hc8_1 = clock;
|
|
4288
4286
|
}
|
|
4289
|
-
protoOf(NodeWasmProver).
|
|
4287
|
+
protoOf(NodeWasmProver).scb = function (proof, headers, $completion) {
|
|
4290
4288
|
var tmp = new $proveCOROUTINE$_0(this, proof, headers, $completion);
|
|
4291
4289
|
tmp.i9_1 = Unit_instance;
|
|
4292
4290
|
tmp.j9_1 = null;
|
|
@@ -4304,7 +4302,7 @@ function compileWasm(path, $completion) {
|
|
|
4304
4302
|
}
|
|
4305
4303
|
function $compileWasmCOROUTINE$(path, resultContinuation) {
|
|
4306
4304
|
CoroutineImpl.call(this, resultContinuation);
|
|
4307
|
-
this.
|
|
4305
|
+
this.bcc_1 = path;
|
|
4308
4306
|
}
|
|
4309
4307
|
protoOf($compileWasmCOROUTINE$).o9 = function () {
|
|
4310
4308
|
var suspendResult = this.i9_1;
|
|
@@ -4315,7 +4313,7 @@ protoOf($compileWasmCOROUTINE$).o9 = function () {
|
|
|
4315
4313
|
case 0:
|
|
4316
4314
|
this.h9_1 = 3;
|
|
4317
4315
|
this.g9_1 = 1;
|
|
4318
|
-
var this_0 = com_dmarket_p2p_headless_node_nodeFs_vfkcsf.promises.readFile(this.
|
|
4316
|
+
var this_0 = com_dmarket_p2p_headless_node_nodeFs_vfkcsf.promises.readFile(this.bcc_1);
|
|
4319
4317
|
suspendResult = await_0(this_0, this);
|
|
4320
4318
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4321
4319
|
return suspendResult;
|
|
@@ -4390,15 +4388,15 @@ function get_UNEXPECTED_RESPONSE() {
|
|
|
4390
4388
|
}
|
|
4391
4389
|
var UNEXPECTED_RESPONSE;
|
|
4392
4390
|
function ProverSessionRecord() {
|
|
4393
|
-
this.
|
|
4394
|
-
this.
|
|
4395
|
-
this.fc9_1 = null;
|
|
4396
|
-
this.gc9_1 = null;
|
|
4391
|
+
this.fc9_1 = false;
|
|
4392
|
+
this.gc9_1 = false;
|
|
4397
4393
|
this.hc9_1 = null;
|
|
4398
4394
|
this.ic9_1 = null;
|
|
4399
4395
|
this.jc9_1 = null;
|
|
4400
4396
|
this.kc9_1 = null;
|
|
4401
4397
|
this.lc9_1 = null;
|
|
4398
|
+
this.mc9_1 = null;
|
|
4399
|
+
this.nc9_1 = null;
|
|
4402
4400
|
}
|
|
4403
4401
|
function headerWebSocket(headers_0, record) {
|
|
4404
4402
|
_init_properties_ProverChannels_kt__wlcf1i();
|
|
@@ -4492,7 +4490,7 @@ function nodeTcpConnector(assetsDir) {
|
|
|
4492
4490
|
}
|
|
4493
4491
|
function headerWebSocket$lambda($record) {
|
|
4494
4492
|
return function () {
|
|
4495
|
-
$record.
|
|
4493
|
+
$record.gc9_1 = true;
|
|
4496
4494
|
var tmp = get_nodeProcess().memoryUsage().rss;
|
|
4497
4495
|
println('prover: notary connected rssMb=' + divide(numberToLong(isNumber(tmp) ? tmp : THROW_CCE()), new Long(1048576, 0)).toString());
|
|
4498
4496
|
return Unit_instance;
|
|
@@ -4512,7 +4510,7 @@ function headerWebSocket$lambda_0($record) {
|
|
|
4512
4510
|
tmp_0 = null;
|
|
4513
4511
|
} else {
|
|
4514
4512
|
// Inline function 'kotlin.let' call
|
|
4515
|
-
$record.
|
|
4513
|
+
$record.hc9_1 = tmp3_safe_receiver;
|
|
4516
4514
|
tmp_0 = Unit_instance;
|
|
4517
4515
|
}
|
|
4518
4516
|
return tmp_0;
|
|
@@ -4521,8 +4519,8 @@ function headerWebSocket$lambda_0($record) {
|
|
|
4521
4519
|
function headerWebSocket$lambda_1($record) {
|
|
4522
4520
|
return function (code, reason) {
|
|
4523
4521
|
var tmp;
|
|
4524
|
-
if ($record.
|
|
4525
|
-
$record.
|
|
4522
|
+
if ($record.gc9_1) {
|
|
4523
|
+
$record.ic9_1 = code;
|
|
4526
4524
|
var tmp_0 = $record;
|
|
4527
4525
|
var tmp_1;
|
|
4528
4526
|
if (reason == null) {
|
|
@@ -4538,14 +4536,14 @@ function headerWebSocket$lambda_1($record) {
|
|
|
4538
4536
|
}
|
|
4539
4537
|
tmp_1 = tmp_2;
|
|
4540
4538
|
}
|
|
4541
|
-
tmp_0.
|
|
4539
|
+
tmp_0.jc9_1 = tmp_1;
|
|
4542
4540
|
var tmp_3;
|
|
4543
4541
|
if (!get_UNDELIBERATE_CLOSES().k1(code)) {
|
|
4544
|
-
var tmp1_safe_receiver = $record.
|
|
4542
|
+
var tmp1_safe_receiver = $record.nc9_1;
|
|
4545
4543
|
if (tmp1_safe_receiver == null)
|
|
4546
4544
|
null;
|
|
4547
4545
|
else
|
|
4548
|
-
tmp1_safe_receiver(code, $record.
|
|
4546
|
+
tmp1_safe_receiver(code, $record.jc9_1);
|
|
4549
4547
|
tmp_3 = Unit_instance;
|
|
4550
4548
|
}
|
|
4551
4549
|
tmp = tmp_3;
|
|
@@ -4556,9 +4554,9 @@ function headerWebSocket$lambda_1($record) {
|
|
|
4556
4554
|
function recordedTargetChannel$lambda($record) {
|
|
4557
4555
|
return function (message) {
|
|
4558
4556
|
var tmp;
|
|
4559
|
-
if ($record.
|
|
4557
|
+
if ($record.kc9_1 == null) {
|
|
4560
4558
|
var tmp_0 = $record;
|
|
4561
|
-
tmp_0.
|
|
4559
|
+
tmp_0.kc9_1 = message == null ? 'the Steam connection failed' : message;
|
|
4562
4560
|
tmp = Unit_instance;
|
|
4563
4561
|
}
|
|
4564
4562
|
return Unit_instance;
|
|
@@ -4573,34 +4571,34 @@ function _init_properties_ProverChannels_kt__wlcf1i() {
|
|
|
4573
4571
|
}
|
|
4574
4572
|
}
|
|
4575
4573
|
function Proved_1(presentation) {
|
|
4576
|
-
this.
|
|
4574
|
+
this.ccc_1 = presentation;
|
|
4577
4575
|
}
|
|
4578
4576
|
protoOf(Proved_1).toString = function () {
|
|
4579
|
-
return 'Proved(presentation=' + this.
|
|
4577
|
+
return 'Proved(presentation=' + this.ccc_1 + ')';
|
|
4580
4578
|
};
|
|
4581
4579
|
protoOf(Proved_1).hashCode = function () {
|
|
4582
|
-
return getStringHashCode(this.
|
|
4580
|
+
return getStringHashCode(this.ccc_1);
|
|
4583
4581
|
};
|
|
4584
4582
|
protoOf(Proved_1).equals = function (other) {
|
|
4585
4583
|
if (this === other)
|
|
4586
4584
|
return true;
|
|
4587
4585
|
if (!(other instanceof Proved_1))
|
|
4588
4586
|
return false;
|
|
4589
|
-
if (!(this.
|
|
4587
|
+
if (!(this.ccc_1 === other.ccc_1))
|
|
4590
4588
|
return false;
|
|
4591
4589
|
return true;
|
|
4592
4590
|
};
|
|
4593
4591
|
function Failed_1(failure, exitAfter) {
|
|
4594
4592
|
exitAfter = exitAfter === VOID ? false : exitAfter;
|
|
4595
|
-
this.
|
|
4596
|
-
this.
|
|
4593
|
+
this.dcc_1 = failure;
|
|
4594
|
+
this.ecc_1 = exitAfter;
|
|
4597
4595
|
}
|
|
4598
4596
|
protoOf(Failed_1).toString = function () {
|
|
4599
|
-
return 'Failed(failure=' + toString_0(this.
|
|
4597
|
+
return 'Failed(failure=' + toString_0(this.dcc_1) + ', exitAfter=' + this.ecc_1 + ')';
|
|
4600
4598
|
};
|
|
4601
4599
|
protoOf(Failed_1).hashCode = function () {
|
|
4602
|
-
var result = hashCode(this.
|
|
4603
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
4600
|
+
var result = hashCode(this.dcc_1);
|
|
4601
|
+
result = imul(result, 31) + getBooleanHashCode(this.ecc_1) | 0;
|
|
4604
4602
|
return result;
|
|
4605
4603
|
};
|
|
4606
4604
|
protoOf(Failed_1).equals = function (other) {
|
|
@@ -4608,9 +4606,9 @@ protoOf(Failed_1).equals = function (other) {
|
|
|
4608
4606
|
return true;
|
|
4609
4607
|
if (!(other instanceof Failed_1))
|
|
4610
4608
|
return false;
|
|
4611
|
-
if (!equals(this.
|
|
4609
|
+
if (!equals(this.dcc_1, other.dcc_1))
|
|
4612
4610
|
return false;
|
|
4613
|
-
if (!(this.
|
|
4611
|
+
if (!(this.ecc_1 === other.ecc_1))
|
|
4614
4612
|
return false;
|
|
4615
4613
|
return true;
|
|
4616
4614
|
};
|
|
@@ -4664,18 +4662,18 @@ function markFirstToKill() {
|
|
|
4664
4662
|
}
|
|
4665
4663
|
}
|
|
4666
4664
|
function runProverChild$lambda$slambda$slambda($waiting, $message, resultContinuation) {
|
|
4667
|
-
this.
|
|
4668
|
-
this.
|
|
4665
|
+
this.ncc_1 = $waiting;
|
|
4666
|
+
this.occ_1 = $message;
|
|
4669
4667
|
CoroutineImpl.call(this, resultContinuation);
|
|
4670
4668
|
}
|
|
4671
|
-
protoOf(runProverChild$lambda$slambda$slambda).
|
|
4669
|
+
protoOf(runProverChild$lambda$slambda$slambda).pcc = function ($completion) {
|
|
4672
4670
|
var tmp = this.d31($completion);
|
|
4673
4671
|
tmp.i9_1 = Unit_instance;
|
|
4674
4672
|
tmp.j9_1 = null;
|
|
4675
4673
|
return tmp.o9();
|
|
4676
4674
|
};
|
|
4677
4675
|
protoOf(runProverChild$lambda$slambda$slambda).aa = function ($completion) {
|
|
4678
|
-
return this.
|
|
4676
|
+
return this.pcc($completion);
|
|
4679
4677
|
};
|
|
4680
4678
|
protoOf(runProverChild$lambda$slambda$slambda).o9 = function () {
|
|
4681
4679
|
var suspendResult = this.i9_1;
|
|
@@ -4686,10 +4684,10 @@ protoOf(runProverChild$lambda$slambda$slambda).o9 = function () {
|
|
|
4686
4684
|
case 0:
|
|
4687
4685
|
this.h9_1 = 2;
|
|
4688
4686
|
var reply = CompletableDeferred();
|
|
4689
|
-
var tmp0 = this.
|
|
4690
|
-
var key = this.
|
|
4687
|
+
var tmp0 = this.ncc_1;
|
|
4688
|
+
var key = this.occ_1.vby_1;
|
|
4691
4689
|
tmp0.f3(key, reply);
|
|
4692
|
-
send(ProverIpc_getInstance().
|
|
4690
|
+
send(ProverIpc_getInstance().qby(new HeadersWanted(this.occ_1.vby_1)));
|
|
4693
4691
|
this.g9_1 = 1;
|
|
4694
4692
|
suspendResult = reply.k11(this);
|
|
4695
4693
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -4699,10 +4697,10 @@ protoOf(runProverChild$lambda$slambda$slambda).o9 = function () {
|
|
|
4699
4697
|
continue $sm;
|
|
4700
4698
|
case 1:
|
|
4701
4699
|
var answer = suspendResult;
|
|
4702
|
-
var tmp0_elvis_lhs = answer.
|
|
4700
|
+
var tmp0_elvis_lhs = answer.ebz_1;
|
|
4703
4701
|
var tmp_0;
|
|
4704
4702
|
if (tmp0_elvis_lhs == null) {
|
|
4705
|
-
var tmp1_elvis_lhs = answer.
|
|
4703
|
+
var tmp1_elvis_lhs = answer.fbz_1;
|
|
4706
4704
|
var message = tmp1_elvis_lhs == null ? 'the SDK sent no upgrade headers' : tmp1_elvis_lhs;
|
|
4707
4705
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
4708
4706
|
} else {
|
|
@@ -4725,12 +4723,12 @@ protoOf(runProverChild$lambda$slambda$slambda).o9 = function () {
|
|
|
4725
4723
|
while (true);
|
|
4726
4724
|
};
|
|
4727
4725
|
protoOf(runProverChild$lambda$slambda$slambda).d31 = function (completion) {
|
|
4728
|
-
return new runProverChild$lambda$slambda$slambda(this.
|
|
4726
|
+
return new runProverChild$lambda$slambda$slambda(this.ncc_1, this.occ_1, completion);
|
|
4729
4727
|
};
|
|
4730
4728
|
function runProverChild$lambda$slambda$slambda_0($waiting, $message, resultContinuation) {
|
|
4731
4729
|
var i = new runProverChild$lambda$slambda$slambda($waiting, $message, resultContinuation);
|
|
4732
4730
|
return constructCallableReference(function ($completion) {
|
|
4733
|
-
return i.
|
|
4731
|
+
return i.pcc($completion);
|
|
4734
4732
|
}, 0);
|
|
4735
4733
|
}
|
|
4736
4734
|
function runProverChild$lambda$slambda$lambda($process) {
|
|
@@ -4739,10 +4737,10 @@ function runProverChild$lambda$slambda$lambda($process) {
|
|
|
4739
4737
|
};
|
|
4740
4738
|
}
|
|
4741
4739
|
function runProverChild$lambda$slambda($prover, $message, $waiting, $process, resultContinuation) {
|
|
4742
|
-
this.
|
|
4743
|
-
this.
|
|
4744
|
-
this.
|
|
4745
|
-
this.
|
|
4740
|
+
this.ycc_1 = $prover;
|
|
4741
|
+
this.zcc_1 = $message;
|
|
4742
|
+
this.acd_1 = $waiting;
|
|
4743
|
+
this.bcd_1 = $process;
|
|
4746
4744
|
CoroutineImpl.call(this, resultContinuation);
|
|
4747
4745
|
}
|
|
4748
4746
|
protoOf(runProverChild$lambda$slambda).k1n = function ($this$launch, $completion) {
|
|
@@ -4762,17 +4760,17 @@ protoOf(runProverChild$lambda$slambda).o9 = function () {
|
|
|
4762
4760
|
switch (tmp) {
|
|
4763
4761
|
case 0:
|
|
4764
4762
|
this.h9_1 = 4;
|
|
4765
|
-
var headers = runProverChild$lambda$slambda$slambda_0(this.
|
|
4763
|
+
var headers = runProverChild$lambda$slambda$slambda_0(this.acd_1, this.zcc_1, null);
|
|
4766
4764
|
this.h9_1 = 2;
|
|
4767
4765
|
this.g9_1 = 1;
|
|
4768
|
-
suspendResult = this.
|
|
4766
|
+
suspendResult = this.ycc_1.scb(this.zcc_1, headers, this);
|
|
4769
4767
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4770
4768
|
return suspendResult;
|
|
4771
4769
|
}
|
|
4772
4770
|
|
|
4773
4771
|
continue $sm;
|
|
4774
4772
|
case 1:
|
|
4775
|
-
this.
|
|
4773
|
+
this.dcd_1 = suspendResult;
|
|
4776
4774
|
this.h9_1 = 4;
|
|
4777
4775
|
this.g9_1 = 3;
|
|
4778
4776
|
continue $sm;
|
|
@@ -4784,7 +4782,7 @@ protoOf(runProverChild$lambda$slambda).o9 = function () {
|
|
|
4784
4782
|
var tmp_1 = this;
|
|
4785
4783
|
var tmp0_elvis_lhs = e.message;
|
|
4786
4784
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? getKClassFromExpression(e).o() : tmp0_elvis_lhs;
|
|
4787
|
-
tmp_1.
|
|
4785
|
+
tmp_1.dcd_1 = new Failed_1(new Other(tmp1_elvis_lhs == null ? 'the prover failed' : tmp1_elvis_lhs));
|
|
4788
4786
|
this.g9_1 = 3;
|
|
4789
4787
|
continue $sm;
|
|
4790
4788
|
} else {
|
|
@@ -4793,30 +4791,30 @@ protoOf(runProverChild$lambda$slambda).o9 = function () {
|
|
|
4793
4791
|
|
|
4794
4792
|
case 3:
|
|
4795
4793
|
this.h9_1 = 4;
|
|
4796
|
-
var result = this.
|
|
4794
|
+
var result = this.dcd_1;
|
|
4797
4795
|
var tmp_2 = ProverIpc_getInstance();
|
|
4798
4796
|
var tmp_3;
|
|
4799
4797
|
if (result instanceof Proved_1) {
|
|
4800
|
-
tmp_3 = new Proved_0(this.
|
|
4798
|
+
tmp_3 = new Proved_0(this.zcc_1.vby_1, result.ccc_1);
|
|
4801
4799
|
} else {
|
|
4802
4800
|
if (result instanceof Failed_1) {
|
|
4803
|
-
tmp_3 = new Failed_0(this.
|
|
4801
|
+
tmp_3 = new Failed_0(this.zcc_1.vby_1, result.dcc_1);
|
|
4804
4802
|
} else {
|
|
4805
4803
|
noWhenBranchMatchedException();
|
|
4806
4804
|
}
|
|
4807
4805
|
}
|
|
4808
4806
|
|
|
4809
|
-
send(tmp_2.
|
|
4807
|
+
send(tmp_2.qby(tmp_3));
|
|
4810
4808
|
var tmp_4;
|
|
4811
4809
|
if (result instanceof Failed_1) {
|
|
4812
|
-
tmp_4 = result.
|
|
4810
|
+
tmp_4 = result.ecc_1;
|
|
4813
4811
|
} else {
|
|
4814
4812
|
tmp_4 = false;
|
|
4815
4813
|
}
|
|
4816
4814
|
|
|
4817
4815
|
if (tmp_4) {
|
|
4818
4816
|
var tmp_5 = setTimeout;
|
|
4819
|
-
tmp_5(runProverChild$lambda$slambda$lambda(this.
|
|
4817
|
+
tmp_5(runProverChild$lambda$slambda$lambda(this.bcd_1), 200);
|
|
4820
4818
|
}
|
|
4821
4819
|
|
|
4822
4820
|
return Unit_instance;
|
|
@@ -4835,8 +4833,8 @@ protoOf(runProverChild$lambda$slambda).o9 = function () {
|
|
|
4835
4833
|
while (true);
|
|
4836
4834
|
};
|
|
4837
4835
|
protoOf(runProverChild$lambda$slambda).l1n = function ($this$launch, completion) {
|
|
4838
|
-
var i = new runProverChild$lambda$slambda(this.
|
|
4839
|
-
i.
|
|
4836
|
+
var i = new runProverChild$lambda$slambda(this.ycc_1, this.zcc_1, this.acd_1, this.bcd_1, completion);
|
|
4837
|
+
i.ccd_1 = $this$launch;
|
|
4840
4838
|
return i;
|
|
4841
4839
|
};
|
|
4842
4840
|
function runProverChild$lambda$slambda_0($prover, $message, $waiting, $process, resultContinuation) {
|
|
@@ -4857,7 +4855,7 @@ function runProverChild$lambda($waiting, $scope, $prover, $process) {
|
|
|
4857
4855
|
var tmp_1 = ProverIpc_getInstance();
|
|
4858
4856
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4859
4857
|
// Inline function 'kotlin.Companion.success' call
|
|
4860
|
-
var value = tmp_1.
|
|
4858
|
+
var value = tmp_1.rby(raw);
|
|
4861
4859
|
tmp_0 = _Result___init__impl__xyqfz8(value);
|
|
4862
4860
|
} catch ($p) {
|
|
4863
4861
|
var tmp_2;
|
|
@@ -4874,7 +4872,7 @@ function runProverChild$lambda($waiting, $scope, $prover, $process) {
|
|
|
4874
4872
|
var this_0 = tmp_0;
|
|
4875
4873
|
var message = _Result___get_isFailure__impl__jpiriv(this_0) ? null : _Result___get_value__impl__bjfvqg(this_0);
|
|
4876
4874
|
if (message instanceof Headers) {
|
|
4877
|
-
var tmp0_safe_receiver = $waiting.g3(message.
|
|
4875
|
+
var tmp0_safe_receiver = $waiting.g3(message.dbz_1);
|
|
4878
4876
|
if (tmp0_safe_receiver == null)
|
|
4879
4877
|
null;
|
|
4880
4878
|
else
|