@dmarket/p2p-tracker-core 1.0.2-beta → 1.0.3-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/p2p-tracker-core.mjs +544 -451
- package/p2p-tracker-core.mjs.map +1 -1
- package/package.json +1 -1
package/p2p-tracker-core.mjs
CHANGED
|
@@ -919,7 +919,7 @@ initMetadataForCoroutine($readCookieCOROUTINE$, CoroutineImpl);
|
|
|
919
919
|
initMetadataForCoroutine($setCookieCOROUTINE$, CoroutineImpl);
|
|
920
920
|
initMetadataForClass(FetchMarketplaceCookieTokenStore, 'FetchMarketplaceCookieTokenStore', FetchMarketplaceCookieTokenStore, VOID, [MarketplaceTokenStore], [0, 1, 4]);
|
|
921
921
|
initMetadataForCoroutine($cancelOfferCOROUTINE$, CoroutineImpl);
|
|
922
|
-
initMetadataForClass(FetchSteamOfferCanceller, 'FetchSteamOfferCanceller', VOID, VOID, VOID, [2
|
|
922
|
+
initMetadataForClass(FetchSteamOfferCanceller, 'FetchSteamOfferCanceller', VOID, VOID, VOID, [2]);
|
|
923
923
|
initMetadataForCompanion(Companion_26);
|
|
924
924
|
initMetadataForCoroutine($createOfferCOROUTINE$, CoroutineImpl);
|
|
925
925
|
initMetadataForCoroutine($installAntiCsrfRuleCOROUTINE$, CoroutineImpl);
|
|
@@ -929,6 +929,7 @@ initMetadataForClass(FetchSteamOfferCreator, 'FetchSteamOfferCreator', VOID, VOI
|
|
|
929
929
|
initMetadataForCoroutine($readCookieCOROUTINE$_0, CoroutineImpl);
|
|
930
930
|
initMetadataForCoroutine($postFormWithSessionCOROUTINE$, CoroutineImpl);
|
|
931
931
|
initMetadataForClass(FetchSteamWebSessionGateway, 'FetchSteamWebSessionGateway', VOID, VOID, VOID, [2, 3, 1]);
|
|
932
|
+
initMetadataForCoroutine($steamSessionIdCOROUTINE$, CoroutineImpl);
|
|
932
933
|
initMetadataForCompanion(Companion_27);
|
|
933
934
|
initMetadataForObject($serializer_23, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
934
935
|
initMetadataForClass(NotaryProofRequest, 'NotaryProofRequest', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_23});
|
|
@@ -29423,9 +29424,6 @@ function failOnRefusal($this, body) {
|
|
|
29423
29424
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
29424
29425
|
}
|
|
29425
29426
|
}
|
|
29426
|
-
function readSessionId($this, $completion) {
|
|
29427
|
-
return webExtCookieValue($this.xa1_1, 'sessionid', $completion);
|
|
29428
|
-
}
|
|
29429
29427
|
function FetchSteamOfferCanceller$cancelOffer$lambda($sessionId) {
|
|
29430
29428
|
return function ($this$parameters) {
|
|
29431
29429
|
$this$parameters.c3y('sessionid', $sessionId);
|
|
@@ -29434,9 +29432,9 @@ function FetchSteamOfferCanceller$cancelOffer$lambda($sessionId) {
|
|
|
29434
29432
|
}
|
|
29435
29433
|
function $cancelOfferCOROUTINE$(_this__u8e3s4, credential, offerId, resultContinuation) {
|
|
29436
29434
|
CoroutineImpl.call(this, resultContinuation);
|
|
29437
|
-
this.
|
|
29438
|
-
this.
|
|
29439
|
-
this.
|
|
29435
|
+
this.ea2_1 = _this__u8e3s4;
|
|
29436
|
+
this.fa2_1 = credential;
|
|
29437
|
+
this.ga2_1 = offerId;
|
|
29440
29438
|
}
|
|
29441
29439
|
protoOf($cancelOfferCOROUTINE$).d9 = function () {
|
|
29442
29440
|
var suspendResult = this.x8_1;
|
|
@@ -29446,9 +29444,9 @@ protoOf($cancelOfferCOROUTINE$).d9 = function () {
|
|
|
29446
29444
|
switch (tmp) {
|
|
29447
29445
|
case 0:
|
|
29448
29446
|
this.w8_1 = 4;
|
|
29449
|
-
this.
|
|
29447
|
+
this.ha2_1 = this.ea2_1.ja2_1 + '/tradeoffer/' + _OfferId___get_value__impl__81k8oa(this.ga2_1) + '/cancel';
|
|
29450
29448
|
this.v8_1 = 1;
|
|
29451
|
-
suspendResult =
|
|
29449
|
+
suspendResult = steamSessionId(this.ea2_1.ia2_1, this.ea2_1.ja2_1, this);
|
|
29452
29450
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29453
29451
|
return suspendResult;
|
|
29454
29452
|
}
|
|
@@ -29466,7 +29464,7 @@ protoOf($cancelOfferCOROUTINE$).d9 = function () {
|
|
|
29466
29464
|
|
|
29467
29465
|
var sessionId = tmp_0;
|
|
29468
29466
|
this.v8_1 = 2;
|
|
29469
|
-
suspendResult = submitForm(this.
|
|
29467
|
+
suspendResult = submitForm(this.ea2_1.ia2_1, this.ha2_1, parameters(FetchSteamOfferCanceller$cancelOffer$lambda(sessionId)), VOID, VOID, this);
|
|
29470
29468
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29471
29469
|
return suspendResult;
|
|
29472
29470
|
}
|
|
@@ -29483,7 +29481,7 @@ protoOf($cancelOfferCOROUTINE$).d9 = function () {
|
|
|
29483
29481
|
continue $sm;
|
|
29484
29482
|
case 3:
|
|
29485
29483
|
var ARGUMENT = suspendResult;
|
|
29486
|
-
failOnRefusal(this.
|
|
29484
|
+
failOnRefusal(this.ea2_1, ARGUMENT);
|
|
29487
29485
|
return Unit_instance;
|
|
29488
29486
|
case 4:
|
|
29489
29487
|
throw this.y8_1;
|
|
@@ -29501,8 +29499,8 @@ protoOf($cancelOfferCOROUTINE$).d9 = function () {
|
|
|
29501
29499
|
};
|
|
29502
29500
|
function FetchSteamOfferCanceller(httpClient, communityBaseUrl) {
|
|
29503
29501
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
29504
|
-
this.
|
|
29505
|
-
this.
|
|
29502
|
+
this.ia2_1 = httpClient;
|
|
29503
|
+
this.ja2_1 = communityBaseUrl;
|
|
29506
29504
|
}
|
|
29507
29505
|
protoOf(FetchSteamOfferCanceller).u68 = function (credential, offerId, $completion) {
|
|
29508
29506
|
var tmp = new $cancelOfferCOROUTINE$(this, credential, offerId, $completion);
|
|
@@ -29522,9 +29520,6 @@ function removeAntiCsrfRule($this, $completion) {
|
|
|
29522
29520
|
tmp.y8_1 = null;
|
|
29523
29521
|
return tmp.d9();
|
|
29524
29522
|
}
|
|
29525
|
-
function readSessionId_0($this, $completion) {
|
|
29526
|
-
return webExtCookieValue($this.ia3_1, 'sessionid', $completion);
|
|
29527
|
-
}
|
|
29528
29523
|
function postCreate($this, url, sessionId, draft, $completion) {
|
|
29529
29524
|
var tmp = new $postCreateCOROUTINE$($this, url, sessionId, draft, $completion);
|
|
29530
29525
|
tmp.x8_1 = Unit_instance;
|
|
@@ -29532,8 +29527,8 @@ function postCreate($this, url, sessionId, draft, $completion) {
|
|
|
29532
29527
|
return tmp.d9();
|
|
29533
29528
|
}
|
|
29534
29529
|
function Companion_26() {
|
|
29535
|
-
this.
|
|
29536
|
-
this.
|
|
29530
|
+
this.va3_1 = 1;
|
|
29531
|
+
this.wa3_1 = 512;
|
|
29537
29532
|
}
|
|
29538
29533
|
var Companion_instance_30;
|
|
29539
29534
|
function Companion_getInstance_36() {
|
|
@@ -29562,9 +29557,9 @@ function FetchSteamOfferCreator$postCreate$lambda_0($this$submitForm) {
|
|
|
29562
29557
|
}
|
|
29563
29558
|
function $createOfferCOROUTINE$(_this__u8e3s4, credential, draft, resultContinuation) {
|
|
29564
29559
|
CoroutineImpl.call(this, resultContinuation);
|
|
29565
|
-
this.
|
|
29566
|
-
this.
|
|
29567
|
-
this.
|
|
29560
|
+
this.fa4_1 = _this__u8e3s4;
|
|
29561
|
+
this.ga4_1 = credential;
|
|
29562
|
+
this.ha4_1 = draft;
|
|
29568
29563
|
}
|
|
29569
29564
|
protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
29570
29565
|
var suspendResult = this.x8_1;
|
|
@@ -29574,28 +29569,28 @@ protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
|
29574
29569
|
switch (tmp) {
|
|
29575
29570
|
case 0:
|
|
29576
29571
|
this.w8_1 = 18;
|
|
29577
|
-
this.
|
|
29578
|
-
this.
|
|
29572
|
+
this.ja4_1 = this.fa4_1.xa4_1;
|
|
29573
|
+
this.ia4_1 = null;
|
|
29579
29574
|
this.v8_1 = 1;
|
|
29580
|
-
suspendResult = this.
|
|
29575
|
+
suspendResult = this.ja4_1.i2e(this.ia4_1, this);
|
|
29581
29576
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29582
29577
|
return suspendResult;
|
|
29583
29578
|
}
|
|
29584
29579
|
|
|
29585
29580
|
continue $sm;
|
|
29586
29581
|
case 1:
|
|
29587
|
-
this.
|
|
29582
|
+
this.ka4_1 = Unit_instance;
|
|
29588
29583
|
this.v8_1 = 2;
|
|
29589
29584
|
continue $sm;
|
|
29590
29585
|
case 2:
|
|
29591
29586
|
this.w8_1 = 17;
|
|
29592
|
-
this.
|
|
29587
|
+
this.la4_1 = Unit_instance;
|
|
29593
29588
|
this.v8_1 = 3;
|
|
29594
29589
|
continue $sm;
|
|
29595
29590
|
case 3:
|
|
29596
|
-
this.
|
|
29591
|
+
this.sa4_1 = this.fa4_1.va4_1 + '/tradeoffer/new/send';
|
|
29597
29592
|
this.v8_1 = 4;
|
|
29598
|
-
suspendResult =
|
|
29593
|
+
suspendResult = steamSessionId(this.fa4_1.ua4_1, this.fa4_1.va4_1, this);
|
|
29599
29594
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29600
29595
|
return suspendResult;
|
|
29601
29596
|
}
|
|
@@ -29604,20 +29599,20 @@ protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
|
29604
29599
|
case 4:
|
|
29605
29600
|
var tmp0_elvis_lhs = suspendResult;
|
|
29606
29601
|
if (tmp0_elvis_lhs == null) {
|
|
29607
|
-
this.
|
|
29602
|
+
this.la4_1 = new Failed('no Steam session cookie');
|
|
29608
29603
|
this.v8_1 = 15;
|
|
29609
29604
|
var tmp_0 = this;
|
|
29610
29605
|
continue $sm;
|
|
29611
29606
|
} else {
|
|
29612
|
-
this.
|
|
29607
|
+
this.ta4_1 = tmp0_elvis_lhs;
|
|
29613
29608
|
this.v8_1 = 5;
|
|
29614
29609
|
continue $sm;
|
|
29615
29610
|
}
|
|
29616
29611
|
|
|
29617
29612
|
case 5:
|
|
29618
|
-
this.
|
|
29613
|
+
this.ra4_1 = this.ta4_1;
|
|
29619
29614
|
this.v8_1 = 6;
|
|
29620
|
-
suspendResult = installAntiCsrfRule(this.
|
|
29615
|
+
suspendResult = installAntiCsrfRule(this.fa4_1, this.ha4_1, this);
|
|
29621
29616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29622
29617
|
return suspendResult;
|
|
29623
29618
|
}
|
|
@@ -29628,11 +29623,11 @@ protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
|
29628
29623
|
continue $sm;
|
|
29629
29624
|
case 7:
|
|
29630
29625
|
this.w8_1 = 11;
|
|
29631
|
-
var this_0 = this.
|
|
29626
|
+
var this_0 = this.fa4_1;
|
|
29632
29627
|
this.w8_1 = 9;
|
|
29633
|
-
this.
|
|
29628
|
+
this.qa4_1 = Companion_instance;
|
|
29634
29629
|
this.v8_1 = 8;
|
|
29635
|
-
suspendResult = postCreate(this_0, this.
|
|
29630
|
+
suspendResult = postCreate(this_0, this.sa4_1, this.ra4_1, this.ha4_1, this);
|
|
29636
29631
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29637
29632
|
return suspendResult;
|
|
29638
29633
|
}
|
|
@@ -29641,8 +29636,8 @@ protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
|
29641
29636
|
case 8:
|
|
29642
29637
|
var tmp2 = suspendResult;
|
|
29643
29638
|
var tmp_1 = this;
|
|
29644
|
-
this.
|
|
29645
|
-
tmp_1.
|
|
29639
|
+
this.qa4_1;
|
|
29640
|
+
tmp_1.pa4_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
29646
29641
|
this.w8_1 = 11;
|
|
29647
29642
|
this.v8_1 = 10;
|
|
29648
29643
|
continue $sm;
|
|
@@ -29652,7 +29647,7 @@ protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
|
29652
29647
|
if (tmp_2 instanceof Error) {
|
|
29653
29648
|
var e = this.y8_1;
|
|
29654
29649
|
var tmp_3 = this;
|
|
29655
|
-
tmp_3.
|
|
29650
|
+
tmp_3.pa4_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
29656
29651
|
this.v8_1 = 10;
|
|
29657
29652
|
continue $sm;
|
|
29658
29653
|
} else {
|
|
@@ -29662,7 +29657,7 @@ protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
|
29662
29657
|
case 10:
|
|
29663
29658
|
this.w8_1 = 11;
|
|
29664
29659
|
var tmp_4 = this;
|
|
29665
|
-
var this_1 = this.
|
|
29660
|
+
var this_1 = this.pa4_1;
|
|
29666
29661
|
var exception = Result__exceptionOrNull_impl_p6xea9(this_1);
|
|
29667
29662
|
var tmp_5;
|
|
29668
29663
|
if (exception == null) {
|
|
@@ -29671,33 +29666,33 @@ protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
|
29671
29666
|
tmp_5 = new Failed(redactedSummary(exception));
|
|
29672
29667
|
}
|
|
29673
29668
|
|
|
29674
|
-
tmp_4.
|
|
29669
|
+
tmp_4.na4_1 = tmp_5;
|
|
29675
29670
|
this.v8_1 = 13;
|
|
29676
29671
|
continue $sm;
|
|
29677
29672
|
case 11:
|
|
29678
29673
|
this.w8_1 = 17;
|
|
29679
|
-
this.
|
|
29674
|
+
this.oa4_1 = this.y8_1;
|
|
29680
29675
|
this.v8_1 = 12;
|
|
29681
|
-
suspendResult = removeAntiCsrfRule(this.
|
|
29676
|
+
suspendResult = removeAntiCsrfRule(this.fa4_1, this);
|
|
29682
29677
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29683
29678
|
return suspendResult;
|
|
29684
29679
|
}
|
|
29685
29680
|
|
|
29686
29681
|
continue $sm;
|
|
29687
29682
|
case 12:
|
|
29688
|
-
throw this.
|
|
29683
|
+
throw this.oa4_1;
|
|
29689
29684
|
case 13:
|
|
29690
|
-
this.
|
|
29685
|
+
this.ma4_1 = this.na4_1;
|
|
29691
29686
|
this.w8_1 = 17;
|
|
29692
29687
|
this.v8_1 = 14;
|
|
29693
|
-
suspendResult = removeAntiCsrfRule(this.
|
|
29688
|
+
suspendResult = removeAntiCsrfRule(this.fa4_1, this);
|
|
29694
29689
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29695
29690
|
return suspendResult;
|
|
29696
29691
|
}
|
|
29697
29692
|
|
|
29698
29693
|
continue $sm;
|
|
29699
29694
|
case 14:
|
|
29700
|
-
this.
|
|
29695
|
+
this.la4_1 = this.ma4_1;
|
|
29701
29696
|
if (false) {
|
|
29702
29697
|
this.v8_1 = 3;
|
|
29703
29698
|
continue $sm;
|
|
@@ -29706,19 +29701,19 @@ protoOf($createOfferCOROUTINE$).d9 = function () {
|
|
|
29706
29701
|
this.v8_1 = 15;
|
|
29707
29702
|
continue $sm;
|
|
29708
29703
|
case 15:
|
|
29709
|
-
this.
|
|
29704
|
+
this.ka4_1 = this.la4_1;
|
|
29710
29705
|
this.w8_1 = 18;
|
|
29711
29706
|
this.v8_1 = 16;
|
|
29712
29707
|
continue $sm;
|
|
29713
29708
|
case 16:
|
|
29714
|
-
var tmp_6 = this.
|
|
29709
|
+
var tmp_6 = this.ka4_1;
|
|
29715
29710
|
this.w8_1 = 18;
|
|
29716
|
-
this.
|
|
29711
|
+
this.ja4_1.u2d(this.ia4_1);
|
|
29717
29712
|
return tmp_6;
|
|
29718
29713
|
case 17:
|
|
29719
29714
|
this.w8_1 = 18;
|
|
29720
29715
|
var t = this.y8_1;
|
|
29721
|
-
this.
|
|
29716
|
+
this.ja4_1.u2d(this.ia4_1);
|
|
29722
29717
|
throw t;
|
|
29723
29718
|
case 18:
|
|
29724
29719
|
throw this.y8_1;
|
|
@@ -29748,7 +29743,7 @@ protoOf($installAntiCsrfRuleCOROUTINE$).d9 = function () {
|
|
|
29748
29743
|
case 0:
|
|
29749
29744
|
this.w8_1 = 3;
|
|
29750
29745
|
var this_0 = StringBuilder_init_$Create$();
|
|
29751
|
-
this_0.q(this.sa2_1.
|
|
29746
|
+
this_0.q(this.sa2_1.va4_1 + '/tradeoffer/new/');
|
|
29752
29747
|
var tmp0_safe_receiver = toAccountId(this.ta2_1.d34_1);
|
|
29753
29748
|
if (tmp0_safe_receiver == null)
|
|
29754
29749
|
null;
|
|
@@ -29766,7 +29761,7 @@ protoOf($installAntiCsrfRuleCOROUTINE$).d9 = function () {
|
|
|
29766
29761
|
var header = FetchSteamOfferCreator$installAntiCsrfRule$lambda;
|
|
29767
29762
|
var rule = {priority: 1, action: {type: 'modifyHeaders'}, condition: {}};
|
|
29768
29763
|
rule.id = 1;
|
|
29769
|
-
var this_1 = [header('referer', referer), header('origin', this.sa2_1.
|
|
29764
|
+
var this_1 = [header('referer', referer), header('origin', this.sa2_1.va4_1)];
|
|
29770
29765
|
rule.action.requestHeaders = this_1;
|
|
29771
29766
|
rule.condition.urlFilter = '||steamcommunity.com/tradeoffer/new/send';
|
|
29772
29767
|
var this_2 = ['xmlhttprequest', 'other'];
|
|
@@ -29888,10 +29883,10 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).d9 = function () {
|
|
|
29888
29883
|
};
|
|
29889
29884
|
function $postCreateCOROUTINE$(_this__u8e3s4, url, sessionId, draft, resultContinuation) {
|
|
29890
29885
|
CoroutineImpl.call(this, resultContinuation);
|
|
29891
|
-
this.
|
|
29892
|
-
this.
|
|
29893
|
-
this.
|
|
29894
|
-
this.
|
|
29886
|
+
this.pa3_1 = _this__u8e3s4;
|
|
29887
|
+
this.qa3_1 = url;
|
|
29888
|
+
this.ra3_1 = sessionId;
|
|
29889
|
+
this.sa3_1 = draft;
|
|
29895
29890
|
}
|
|
29896
29891
|
protoOf($postCreateCOROUTINE$).d9 = function () {
|
|
29897
29892
|
var suspendResult = this.x8_1;
|
|
@@ -29903,13 +29898,13 @@ protoOf($postCreateCOROUTINE$).d9 = function () {
|
|
|
29903
29898
|
this.w8_1 = 5;
|
|
29904
29899
|
var me = {assets: [], currency: [], ready: false};
|
|
29905
29900
|
var assets = [];
|
|
29906
|
-
var _iterator__ex2g4s = this.
|
|
29901
|
+
var _iterator__ex2g4s = this.sa3_1.e34_1.t();
|
|
29907
29902
|
while (_iterator__ex2g4s.u()) {
|
|
29908
29903
|
var element = _iterator__ex2g4s.v();
|
|
29909
29904
|
var asset = element.r2u_1;
|
|
29910
29905
|
var a = {amount: 1};
|
|
29911
|
-
a.appid = _GameKey___get_appId__impl__34q66t(this.
|
|
29912
|
-
a.contextid = this.
|
|
29906
|
+
a.appid = _GameKey___get_appId__impl__34q66t(this.pa3_1.wa4_1.e2v());
|
|
29907
|
+
a.contextid = this.pa3_1.wa4_1.f2v().toString();
|
|
29913
29908
|
a.assetid = _AssetId___get_value__impl__om0zk2(asset);
|
|
29914
29909
|
assets.push(a);
|
|
29915
29910
|
}
|
|
@@ -29920,7 +29915,7 @@ protoOf($postCreateCOROUTINE$).d9 = function () {
|
|
|
29920
29915
|
jsonTradeOffer.me = me;
|
|
29921
29916
|
jsonTradeOffer.them = them;
|
|
29922
29917
|
var createParams = {};
|
|
29923
|
-
var tmp0_safe_receiver = this.
|
|
29918
|
+
var tmp0_safe_receiver = this.sa3_1.f34_1;
|
|
29924
29919
|
if (tmp0_safe_receiver == null)
|
|
29925
29920
|
null;
|
|
29926
29921
|
else {
|
|
@@ -29929,15 +29924,15 @@ protoOf($postCreateCOROUTINE$).d9 = function () {
|
|
|
29929
29924
|
|
|
29930
29925
|
this.w8_1 = 2;
|
|
29931
29926
|
this.v8_1 = 1;
|
|
29932
|
-
var tmp_0 = parameters(FetchSteamOfferCreator$postCreate$lambda(this.
|
|
29933
|
-
suspendResult = submitForm(this.
|
|
29927
|
+
var tmp_0 = parameters(FetchSteamOfferCreator$postCreate$lambda(this.ra3_1, this.sa3_1, jsonTradeOffer, createParams));
|
|
29928
|
+
suspendResult = submitForm(this.pa3_1.ua4_1, this.qa3_1, tmp_0, VOID, FetchSteamOfferCreator$postCreate$lambda_0, this);
|
|
29934
29929
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29935
29930
|
return suspendResult;
|
|
29936
29931
|
}
|
|
29937
29932
|
|
|
29938
29933
|
continue $sm;
|
|
29939
29934
|
case 1:
|
|
29940
|
-
this.
|
|
29935
|
+
this.ua3_1 = suspendResult;
|
|
29941
29936
|
this.w8_1 = 5;
|
|
29942
29937
|
this.v8_1 = 3;
|
|
29943
29938
|
continue $sm;
|
|
@@ -29962,8 +29957,8 @@ protoOf($postCreateCOROUTINE$).d9 = function () {
|
|
|
29962
29957
|
|
|
29963
29958
|
case 3:
|
|
29964
29959
|
this.w8_1 = 5;
|
|
29965
|
-
var response = this.
|
|
29966
|
-
this.
|
|
29960
|
+
var response = this.ua3_1;
|
|
29961
|
+
this.ta3_1 = JSON;
|
|
29967
29962
|
this.v8_1 = 4;
|
|
29968
29963
|
suspendResult = bodyAsText(response, VOID, this);
|
|
29969
29964
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -29973,7 +29968,7 @@ protoOf($postCreateCOROUTINE$).d9 = function () {
|
|
|
29973
29968
|
continue $sm;
|
|
29974
29969
|
case 4:
|
|
29975
29970
|
var ARGUMENT = suspendResult;
|
|
29976
|
-
var parsed = this.
|
|
29971
|
+
var parsed = this.ta3_1.parse(ARGUMENT);
|
|
29977
29972
|
var tmp_4 = parsed == null ? null : parsed.tradeofferid;
|
|
29978
29973
|
var tmp3_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'string' : false) ? tmp_4 : null;
|
|
29979
29974
|
var tmp_5;
|
|
@@ -30010,10 +30005,10 @@ protoOf($postCreateCOROUTINE$).d9 = function () {
|
|
|
30010
30005
|
function FetchSteamOfferCreator(httpClient, communityBaseUrl, adapter) {
|
|
30011
30006
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
30012
30007
|
adapter = adapter === VOID ? new Cs2GameAdapter() : adapter;
|
|
30013
|
-
this.
|
|
30014
|
-
this.
|
|
30015
|
-
this.
|
|
30016
|
-
this.
|
|
30008
|
+
this.ua4_1 = httpClient;
|
|
30009
|
+
this.va4_1 = communityBaseUrl;
|
|
30010
|
+
this.wa4_1 = adapter;
|
|
30011
|
+
this.xa4_1 = Mutex();
|
|
30017
30012
|
}
|
|
30018
30013
|
protoOf(FetchSteamOfferCreator).v68 = function (credential, draft, $completion) {
|
|
30019
30014
|
var tmp = new $createOfferCOROUTINE$(this, credential, draft, $completion);
|
|
@@ -30192,6 +30187,104 @@ protoOf(FetchSteamWebSessionGateway).b7a = function (url, form, $completion) {
|
|
|
30192
30187
|
tmp.y8_1 = null;
|
|
30193
30188
|
return tmp.d9();
|
|
30194
30189
|
};
|
|
30190
|
+
function steamSessionId(_this__u8e3s4, communityBaseUrl, $completion) {
|
|
30191
|
+
var tmp = new $steamSessionIdCOROUTINE$(_this__u8e3s4, communityBaseUrl, $completion);
|
|
30192
|
+
tmp.x8_1 = Unit_instance;
|
|
30193
|
+
tmp.y8_1 = null;
|
|
30194
|
+
return tmp.d9();
|
|
30195
|
+
}
|
|
30196
|
+
function $steamSessionIdCOROUTINE$(_this__u8e3s4, communityBaseUrl, resultContinuation) {
|
|
30197
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
30198
|
+
this.ea6_1 = _this__u8e3s4;
|
|
30199
|
+
this.fa6_1 = communityBaseUrl;
|
|
30200
|
+
}
|
|
30201
|
+
protoOf($steamSessionIdCOROUTINE$).d9 = function () {
|
|
30202
|
+
var suspendResult = this.x8_1;
|
|
30203
|
+
$sm: do
|
|
30204
|
+
try {
|
|
30205
|
+
var tmp = this.v8_1;
|
|
30206
|
+
switch (tmp) {
|
|
30207
|
+
case 0:
|
|
30208
|
+
this.w8_1 = 6;
|
|
30209
|
+
this.v8_1 = 1;
|
|
30210
|
+
suspendResult = webExtCookieValue(this.fa6_1, 'sessionid', this);
|
|
30211
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30212
|
+
return suspendResult;
|
|
30213
|
+
}
|
|
30214
|
+
|
|
30215
|
+
continue $sm;
|
|
30216
|
+
case 1:
|
|
30217
|
+
var tmp0_safe_receiver = suspendResult;
|
|
30218
|
+
if (tmp0_safe_receiver == null)
|
|
30219
|
+
null;
|
|
30220
|
+
else {
|
|
30221
|
+
return tmp0_safe_receiver;
|
|
30222
|
+
}
|
|
30223
|
+
|
|
30224
|
+
this.w8_1 = 3;
|
|
30225
|
+
var tmp0 = this.ea6_1;
|
|
30226
|
+
var urlString = this.fa6_1 + '/';
|
|
30227
|
+
var this_0 = new HttpRequestBuilder();
|
|
30228
|
+
url(this_0, urlString);
|
|
30229
|
+
suppressResponseBodyCapture(this_0);
|
|
30230
|
+
this_0.p4w_1 = Companion_getInstance_7().l49_1;
|
|
30231
|
+
this.v8_1 = 2;
|
|
30232
|
+
suspendResult = (new HttpStatement(this_0, tmp0)).q5u(this);
|
|
30233
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30234
|
+
return suspendResult;
|
|
30235
|
+
}
|
|
30236
|
+
|
|
30237
|
+
continue $sm;
|
|
30238
|
+
case 2:
|
|
30239
|
+
this.ga6_1 = suspendResult;
|
|
30240
|
+
this.w8_1 = 6;
|
|
30241
|
+
this.v8_1 = 4;
|
|
30242
|
+
continue $sm;
|
|
30243
|
+
case 3:
|
|
30244
|
+
this.w8_1 = 6;
|
|
30245
|
+
var tmp_0 = this.y8_1;
|
|
30246
|
+
if (tmp_0 instanceof CancellationException) {
|
|
30247
|
+
var e = this.y8_1;
|
|
30248
|
+
var tmp_1 = this;
|
|
30249
|
+
throw e;
|
|
30250
|
+
} else {
|
|
30251
|
+
var tmp_2 = this.y8_1;
|
|
30252
|
+
if (tmp_2 instanceof Error) {
|
|
30253
|
+
var _unused_var__etf5q3 = this.y8_1;
|
|
30254
|
+
var tmp_3 = this;
|
|
30255
|
+
tmp_3.ga6_1 = Unit_instance;
|
|
30256
|
+
this.v8_1 = 4;
|
|
30257
|
+
continue $sm;
|
|
30258
|
+
} else {
|
|
30259
|
+
throw this.y8_1;
|
|
30260
|
+
}
|
|
30261
|
+
}
|
|
30262
|
+
|
|
30263
|
+
case 4:
|
|
30264
|
+
this.w8_1 = 6;
|
|
30265
|
+
this.v8_1 = 5;
|
|
30266
|
+
suspendResult = webExtCookieValue(this.fa6_1, 'sessionid', this);
|
|
30267
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30268
|
+
return suspendResult;
|
|
30269
|
+
}
|
|
30270
|
+
|
|
30271
|
+
continue $sm;
|
|
30272
|
+
case 5:
|
|
30273
|
+
return suspendResult;
|
|
30274
|
+
case 6:
|
|
30275
|
+
throw this.y8_1;
|
|
30276
|
+
}
|
|
30277
|
+
} catch ($p) {
|
|
30278
|
+
var e_0 = $p;
|
|
30279
|
+
if (this.w8_1 === 6) {
|
|
30280
|
+
throw e_0;
|
|
30281
|
+
} else {
|
|
30282
|
+
this.v8_1 = this.w8_1;
|
|
30283
|
+
this.y8_1 = e_0;
|
|
30284
|
+
}
|
|
30285
|
+
}
|
|
30286
|
+
while (true);
|
|
30287
|
+
};
|
|
30195
30288
|
function NotaryProofRequest$Companion$$childSerializers$_anonymous__91ueae() {
|
|
30196
30289
|
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
30197
30290
|
}
|
|
@@ -30202,7 +30295,7 @@ function Companion_27() {
|
|
|
30202
30295
|
// Inline function 'kotlin.arrayOf' call
|
|
30203
30296
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
30204
30297
|
// Inline function 'kotlin.js.asDynamic' call
|
|
30205
|
-
tmp.
|
|
30298
|
+
tmp.ha6_1 = [null, null, null, null, null, null, null, null, lazy_0(tmp_0, NotaryProofRequest$Companion$$childSerializers$_anonymous__91ueae), null];
|
|
30206
30299
|
}
|
|
30207
30300
|
var Companion_instance_31;
|
|
30208
30301
|
function Companion_getInstance_37() {
|
|
@@ -30223,43 +30316,43 @@ function $serializer_23() {
|
|
|
30223
30316
|
tmp0_serialDesc.w10('tradeToken', true);
|
|
30224
30317
|
tmp0_serialDesc.w10('assetIds', true);
|
|
30225
30318
|
tmp0_serialDesc.w10('minOnlineBudget', true);
|
|
30226
|
-
this.
|
|
30319
|
+
this.ia6_1 = tmp0_serialDesc;
|
|
30227
30320
|
}
|
|
30228
|
-
protoOf($serializer_23).
|
|
30229
|
-
var tmp0_desc = this.
|
|
30321
|
+
protoOf($serializer_23).ja6 = function (encoder, value) {
|
|
30322
|
+
var tmp0_desc = this.ia6_1;
|
|
30230
30323
|
var tmp1_output = encoder.gt(tmp0_desc);
|
|
30231
|
-
var tmp2_cached = Companion_getInstance_37().
|
|
30232
|
-
tmp1_output.vu(tmp0_desc, 0, value.
|
|
30233
|
-
tmp1_output.vu(tmp0_desc, 1, value.
|
|
30234
|
-
if (tmp1_output.dv(tmp0_desc, 2) ? true : !(value.
|
|
30235
|
-
tmp1_output.zu(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
30324
|
+
var tmp2_cached = Companion_getInstance_37().ha6_1;
|
|
30325
|
+
tmp1_output.vu(tmp0_desc, 0, value.ka6_1);
|
|
30326
|
+
tmp1_output.vu(tmp0_desc, 1, value.la6_1);
|
|
30327
|
+
if (tmp1_output.dv(tmp0_desc, 2) ? true : !(value.ma6_1 == null)) {
|
|
30328
|
+
tmp1_output.zu(tmp0_desc, 2, StringSerializer_getInstance(), value.ma6_1);
|
|
30236
30329
|
}
|
|
30237
|
-
if (tmp1_output.dv(tmp0_desc, 3) ? true : !(value.
|
|
30238
|
-
tmp1_output.zu(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
30330
|
+
if (tmp1_output.dv(tmp0_desc, 3) ? true : !(value.na6_1 == null)) {
|
|
30331
|
+
tmp1_output.zu(tmp0_desc, 3, StringSerializer_getInstance(), value.na6_1);
|
|
30239
30332
|
}
|
|
30240
|
-
if (tmp1_output.dv(tmp0_desc, 4) ? true : !(value.
|
|
30241
|
-
tmp1_output.zu(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
30333
|
+
if (tmp1_output.dv(tmp0_desc, 4) ? true : !(value.oa6_1 == null)) {
|
|
30334
|
+
tmp1_output.zu(tmp0_desc, 4, StringSerializer_getInstance(), value.oa6_1);
|
|
30242
30335
|
}
|
|
30243
|
-
tmp1_output.vu(tmp0_desc, 5, value.
|
|
30244
|
-
if (tmp1_output.dv(tmp0_desc, 6) ? true : !(value.
|
|
30245
|
-
tmp1_output.zu(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
30336
|
+
tmp1_output.vu(tmp0_desc, 5, value.pa6_1);
|
|
30337
|
+
if (tmp1_output.dv(tmp0_desc, 6) ? true : !(value.qa6_1 == null)) {
|
|
30338
|
+
tmp1_output.zu(tmp0_desc, 6, StringSerializer_getInstance(), value.qa6_1);
|
|
30246
30339
|
}
|
|
30247
|
-
if (tmp1_output.dv(tmp0_desc, 7) ? true : !(value.
|
|
30248
|
-
tmp1_output.zu(tmp0_desc, 7, StringSerializer_getInstance(), value.
|
|
30340
|
+
if (tmp1_output.dv(tmp0_desc, 7) ? true : !(value.ra6_1 == null)) {
|
|
30341
|
+
tmp1_output.zu(tmp0_desc, 7, StringSerializer_getInstance(), value.ra6_1);
|
|
30249
30342
|
}
|
|
30250
|
-
if (tmp1_output.dv(tmp0_desc, 8) ? true : !equals(value.
|
|
30251
|
-
tmp1_output.xu(tmp0_desc, 8, tmp2_cached[8].p1(), value.
|
|
30343
|
+
if (tmp1_output.dv(tmp0_desc, 8) ? true : !equals(value.sa6_1, emptyList())) {
|
|
30344
|
+
tmp1_output.xu(tmp0_desc, 8, tmp2_cached[8].p1(), value.sa6_1);
|
|
30252
30345
|
}
|
|
30253
|
-
if (tmp1_output.dv(tmp0_desc, 9) ? true : !(value.
|
|
30254
|
-
tmp1_output.zu(tmp0_desc, 9, IntSerializer_getInstance(), value.
|
|
30346
|
+
if (tmp1_output.dv(tmp0_desc, 9) ? true : !(value.ta6_1 == null)) {
|
|
30347
|
+
tmp1_output.zu(tmp0_desc, 9, IntSerializer_getInstance(), value.ta6_1);
|
|
30255
30348
|
}
|
|
30256
30349
|
tmp1_output.ht(tmp0_desc);
|
|
30257
30350
|
};
|
|
30258
30351
|
protoOf($serializer_23).fq = function (encoder, value) {
|
|
30259
|
-
return this.
|
|
30352
|
+
return this.ja6(encoder, value instanceof NotaryProofRequest ? value : THROW_CCE());
|
|
30260
30353
|
};
|
|
30261
30354
|
protoOf($serializer_23).gq = function (decoder) {
|
|
30262
|
-
var tmp0_desc = this.
|
|
30355
|
+
var tmp0_desc = this.ia6_1;
|
|
30263
30356
|
var tmp1_flag = true;
|
|
30264
30357
|
var tmp2_index = 0;
|
|
30265
30358
|
var tmp3_bitMask0 = 0;
|
|
@@ -30274,7 +30367,7 @@ protoOf($serializer_23).gq = function (decoder) {
|
|
|
30274
30367
|
var tmp12_local8 = null;
|
|
30275
30368
|
var tmp13_local9 = null;
|
|
30276
30369
|
var tmp14_input = decoder.gt(tmp0_desc);
|
|
30277
|
-
var tmp15_cached = Companion_getInstance_37().
|
|
30370
|
+
var tmp15_cached = Companion_getInstance_37().ha6_1;
|
|
30278
30371
|
if (tmp14_input.wt()) {
|
|
30279
30372
|
tmp4_local0 = tmp14_input.qt(tmp0_desc, 0);
|
|
30280
30373
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -30351,10 +30444,10 @@ protoOf($serializer_23).gq = function (decoder) {
|
|
|
30351
30444
|
return NotaryProofRequest_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
|
|
30352
30445
|
};
|
|
30353
30446
|
protoOf($serializer_23).eq = function () {
|
|
30354
|
-
return this.
|
|
30447
|
+
return this.ia6_1;
|
|
30355
30448
|
};
|
|
30356
30449
|
protoOf($serializer_23).l11 = function () {
|
|
30357
|
-
var tmp0_cached = Companion_getInstance_37().
|
|
30450
|
+
var tmp0_cached = Companion_getInstance_37().ha6_1;
|
|
30358
30451
|
// Inline function 'kotlin.arrayOf' call
|
|
30359
30452
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
30360
30453
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -30368,39 +30461,39 @@ function $serializer_getInstance_23() {
|
|
|
30368
30461
|
}
|
|
30369
30462
|
function NotaryProofRequest_init_$Init$(seen0, dealId, subjectSteamId, steamOfferId, assetId, tradeId, kind, partnerSteamId, tradeToken, assetIds, minOnlineBudget, serializationConstructorMarker, $this) {
|
|
30370
30463
|
if (!(35 === (35 & seen0))) {
|
|
30371
|
-
throwMissingFieldException(seen0, 35, $serializer_getInstance_23().
|
|
30464
|
+
throwMissingFieldException(seen0, 35, $serializer_getInstance_23().ia6_1);
|
|
30372
30465
|
}
|
|
30373
|
-
$this.
|
|
30374
|
-
$this.
|
|
30466
|
+
$this.ka6_1 = dealId;
|
|
30467
|
+
$this.la6_1 = subjectSteamId;
|
|
30375
30468
|
if (0 === (seen0 & 4))
|
|
30376
|
-
$this.
|
|
30469
|
+
$this.ma6_1 = null;
|
|
30377
30470
|
else
|
|
30378
|
-
$this.
|
|
30471
|
+
$this.ma6_1 = steamOfferId;
|
|
30379
30472
|
if (0 === (seen0 & 8))
|
|
30380
|
-
$this.
|
|
30473
|
+
$this.na6_1 = null;
|
|
30381
30474
|
else
|
|
30382
|
-
$this.
|
|
30475
|
+
$this.na6_1 = assetId;
|
|
30383
30476
|
if (0 === (seen0 & 16))
|
|
30384
|
-
$this.
|
|
30477
|
+
$this.oa6_1 = null;
|
|
30385
30478
|
else
|
|
30386
|
-
$this.
|
|
30387
|
-
$this.
|
|
30479
|
+
$this.oa6_1 = tradeId;
|
|
30480
|
+
$this.pa6_1 = kind;
|
|
30388
30481
|
if (0 === (seen0 & 64))
|
|
30389
|
-
$this.
|
|
30482
|
+
$this.qa6_1 = null;
|
|
30390
30483
|
else
|
|
30391
|
-
$this.
|
|
30484
|
+
$this.qa6_1 = partnerSteamId;
|
|
30392
30485
|
if (0 === (seen0 & 128))
|
|
30393
|
-
$this.
|
|
30486
|
+
$this.ra6_1 = null;
|
|
30394
30487
|
else
|
|
30395
|
-
$this.
|
|
30488
|
+
$this.ra6_1 = tradeToken;
|
|
30396
30489
|
if (0 === (seen0 & 256))
|
|
30397
|
-
$this.
|
|
30490
|
+
$this.sa6_1 = emptyList();
|
|
30398
30491
|
else
|
|
30399
|
-
$this.
|
|
30492
|
+
$this.sa6_1 = assetIds;
|
|
30400
30493
|
if (0 === (seen0 & 512))
|
|
30401
|
-
$this.
|
|
30494
|
+
$this.ta6_1 = null;
|
|
30402
30495
|
else
|
|
30403
|
-
$this.
|
|
30496
|
+
$this.ta6_1 = minOnlineBudget;
|
|
30404
30497
|
return $this;
|
|
30405
30498
|
}
|
|
30406
30499
|
function NotaryProofRequest_init_$Create$(seen0, dealId, subjectSteamId, steamOfferId, assetId, tradeId, kind, partnerSteamId, tradeToken, assetIds, minOnlineBudget, serializationConstructorMarker) {
|
|
@@ -30415,31 +30508,31 @@ function NotaryProofRequest(dealId, subjectSteamId, steamOfferId, assetId, trade
|
|
|
30415
30508
|
tradeToken = tradeToken === VOID ? null : tradeToken;
|
|
30416
30509
|
assetIds = assetIds === VOID ? emptyList() : assetIds;
|
|
30417
30510
|
minOnlineBudget = minOnlineBudget === VOID ? null : minOnlineBudget;
|
|
30418
|
-
this.
|
|
30419
|
-
this.
|
|
30420
|
-
this.
|
|
30421
|
-
this.
|
|
30422
|
-
this.
|
|
30423
|
-
this.
|
|
30424
|
-
this.
|
|
30425
|
-
this.
|
|
30426
|
-
this.
|
|
30427
|
-
this.
|
|
30511
|
+
this.ka6_1 = dealId;
|
|
30512
|
+
this.la6_1 = subjectSteamId;
|
|
30513
|
+
this.ma6_1 = steamOfferId;
|
|
30514
|
+
this.na6_1 = assetId;
|
|
30515
|
+
this.oa6_1 = tradeId;
|
|
30516
|
+
this.pa6_1 = kind;
|
|
30517
|
+
this.qa6_1 = partnerSteamId;
|
|
30518
|
+
this.ra6_1 = tradeToken;
|
|
30519
|
+
this.sa6_1 = assetIds;
|
|
30520
|
+
this.ta6_1 = minOnlineBudget;
|
|
30428
30521
|
}
|
|
30429
30522
|
protoOf(NotaryProofRequest).toString = function () {
|
|
30430
|
-
return 'NotaryProofRequest(dealId=' + this.
|
|
30523
|
+
return 'NotaryProofRequest(dealId=' + this.ka6_1 + ', subjectSteamId=' + this.la6_1 + ', steamOfferId=' + this.ma6_1 + ', assetId=' + this.na6_1 + ', tradeId=' + this.oa6_1 + ', kind=' + this.pa6_1 + ', partnerSteamId=' + this.qa6_1 + ', tradeToken=' + this.ra6_1 + ', assetIds=' + toString(this.sa6_1) + ', minOnlineBudget=' + this.ta6_1 + ')';
|
|
30431
30524
|
};
|
|
30432
30525
|
protoOf(NotaryProofRequest).hashCode = function () {
|
|
30433
|
-
var result = getStringHashCode(this.
|
|
30434
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
30435
|
-
result = imul(result, 31) + (this.
|
|
30436
|
-
result = imul(result, 31) + (this.
|
|
30437
|
-
result = imul(result, 31) + (this.
|
|
30438
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
30439
|
-
result = imul(result, 31) + (this.
|
|
30440
|
-
result = imul(result, 31) + (this.
|
|
30441
|
-
result = imul(result, 31) + hashCode(this.
|
|
30442
|
-
result = imul(result, 31) + (this.
|
|
30526
|
+
var result = getStringHashCode(this.ka6_1);
|
|
30527
|
+
result = imul(result, 31) + getStringHashCode(this.la6_1) | 0;
|
|
30528
|
+
result = imul(result, 31) + (this.ma6_1 == null ? 0 : getStringHashCode(this.ma6_1)) | 0;
|
|
30529
|
+
result = imul(result, 31) + (this.na6_1 == null ? 0 : getStringHashCode(this.na6_1)) | 0;
|
|
30530
|
+
result = imul(result, 31) + (this.oa6_1 == null ? 0 : getStringHashCode(this.oa6_1)) | 0;
|
|
30531
|
+
result = imul(result, 31) + getStringHashCode(this.pa6_1) | 0;
|
|
30532
|
+
result = imul(result, 31) + (this.qa6_1 == null ? 0 : getStringHashCode(this.qa6_1)) | 0;
|
|
30533
|
+
result = imul(result, 31) + (this.ra6_1 == null ? 0 : getStringHashCode(this.ra6_1)) | 0;
|
|
30534
|
+
result = imul(result, 31) + hashCode(this.sa6_1) | 0;
|
|
30535
|
+
result = imul(result, 31) + (this.ta6_1 == null ? 0 : this.ta6_1) | 0;
|
|
30443
30536
|
return result;
|
|
30444
30537
|
};
|
|
30445
30538
|
protoOf(NotaryProofRequest).equals = function (other) {
|
|
@@ -30447,34 +30540,34 @@ protoOf(NotaryProofRequest).equals = function (other) {
|
|
|
30447
30540
|
return true;
|
|
30448
30541
|
if (!(other instanceof NotaryProofRequest))
|
|
30449
30542
|
return false;
|
|
30450
|
-
if (!(this.
|
|
30543
|
+
if (!(this.ka6_1 === other.ka6_1))
|
|
30451
30544
|
return false;
|
|
30452
|
-
if (!(this.
|
|
30545
|
+
if (!(this.la6_1 === other.la6_1))
|
|
30453
30546
|
return false;
|
|
30454
|
-
if (!(this.
|
|
30547
|
+
if (!(this.ma6_1 == other.ma6_1))
|
|
30455
30548
|
return false;
|
|
30456
|
-
if (!(this.
|
|
30549
|
+
if (!(this.na6_1 == other.na6_1))
|
|
30457
30550
|
return false;
|
|
30458
|
-
if (!(this.
|
|
30551
|
+
if (!(this.oa6_1 == other.oa6_1))
|
|
30459
30552
|
return false;
|
|
30460
|
-
if (!(this.
|
|
30553
|
+
if (!(this.pa6_1 === other.pa6_1))
|
|
30461
30554
|
return false;
|
|
30462
|
-
if (!(this.
|
|
30555
|
+
if (!(this.qa6_1 == other.qa6_1))
|
|
30463
30556
|
return false;
|
|
30464
|
-
if (!(this.
|
|
30557
|
+
if (!(this.ra6_1 == other.ra6_1))
|
|
30465
30558
|
return false;
|
|
30466
|
-
if (!equals(this.
|
|
30559
|
+
if (!equals(this.sa6_1, other.sa6_1))
|
|
30467
30560
|
return false;
|
|
30468
|
-
if (!(this.
|
|
30561
|
+
if (!(this.ta6_1 == other.ta6_1))
|
|
30469
30562
|
return false;
|
|
30470
30563
|
return true;
|
|
30471
30564
|
};
|
|
30472
30565
|
function $proveReadCOROUTINE$(_this__u8e3s4, binding, kind, credential, resultContinuation) {
|
|
30473
30566
|
CoroutineImpl.call(this, resultContinuation);
|
|
30474
|
-
this.
|
|
30475
|
-
this.
|
|
30476
|
-
this.
|
|
30477
|
-
this.
|
|
30567
|
+
this.ca7_1 = _this__u8e3s4;
|
|
30568
|
+
this.da7_1 = binding;
|
|
30569
|
+
this.ea7_1 = kind;
|
|
30570
|
+
this.fa7_1 = credential;
|
|
30478
30571
|
}
|
|
30479
30572
|
protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
30480
30573
|
var suspendResult = this.x8_1;
|
|
@@ -30484,10 +30577,10 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30484
30577
|
switch (tmp) {
|
|
30485
30578
|
case 0:
|
|
30486
30579
|
this.w8_1 = 3;
|
|
30487
|
-
var tmp4_dealId = _DealId___get_value__impl__ww6eoe(this.
|
|
30488
|
-
var tmp5_kind = this.
|
|
30489
|
-
var tmp6_subjectSteamId = _SteamId___get_value__impl__qjh21u(this.
|
|
30490
|
-
var tmp0_safe_receiver = this.
|
|
30580
|
+
var tmp4_dealId = _DealId___get_value__impl__ww6eoe(this.da7_1.e35_1);
|
|
30581
|
+
var tmp5_kind = this.ea7_1.z_1;
|
|
30582
|
+
var tmp6_subjectSteamId = _SteamId___get_value__impl__qjh21u(this.fa7_1.h33_1);
|
|
30583
|
+
var tmp0_safe_receiver = this.da7_1.f35_1;
|
|
30491
30584
|
var tmp_0;
|
|
30492
30585
|
var tmp_1 = tmp0_safe_receiver;
|
|
30493
30586
|
if ((tmp_1 == null ? null : new OfferId(tmp_1)) == null) {
|
|
@@ -30497,7 +30590,7 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30497
30590
|
}
|
|
30498
30591
|
|
|
30499
30592
|
var tmp7_steamOfferId = tmp_0;
|
|
30500
|
-
var tmp1_safe_receiver = this.
|
|
30593
|
+
var tmp1_safe_receiver = this.da7_1.g35_1;
|
|
30501
30594
|
var tmp_2;
|
|
30502
30595
|
var tmp_3 = tmp1_safe_receiver;
|
|
30503
30596
|
if ((tmp_3 == null ? null : new AssetId(tmp_3)) == null) {
|
|
@@ -30507,7 +30600,7 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30507
30600
|
}
|
|
30508
30601
|
|
|
30509
30602
|
var tmp8_assetId = tmp_2;
|
|
30510
|
-
var tmp2_safe_receiver = this.
|
|
30603
|
+
var tmp2_safe_receiver = this.da7_1.h35_1;
|
|
30511
30604
|
var tmp_4;
|
|
30512
30605
|
var tmp_5 = tmp2_safe_receiver;
|
|
30513
30606
|
if ((tmp_5 == null ? null : new TradeId(tmp_5)) == null) {
|
|
@@ -30517,7 +30610,7 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30517
30610
|
}
|
|
30518
30611
|
|
|
30519
30612
|
var tmp9_tradeId = tmp_4;
|
|
30520
|
-
var tmp3_safe_receiver = this.
|
|
30613
|
+
var tmp3_safe_receiver = this.da7_1.i35_1;
|
|
30521
30614
|
var tmp_6;
|
|
30522
30615
|
var tmp_7 = tmp3_safe_receiver;
|
|
30523
30616
|
if ((tmp_7 == null ? null : new SteamId(tmp_7)) == null) {
|
|
@@ -30527,8 +30620,8 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30527
30620
|
}
|
|
30528
30621
|
|
|
30529
30622
|
var tmp10_partnerSteamId = tmp_6;
|
|
30530
|
-
var tmp11_tradeToken = this.
|
|
30531
|
-
var this_0 = this.
|
|
30623
|
+
var tmp11_tradeToken = this.da7_1.j35_1;
|
|
30624
|
+
var this_0 = this.da7_1.k35_1;
|
|
30532
30625
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
30533
30626
|
var _iterator__ex2g4s = this_0.t();
|
|
30534
30627
|
while (_iterator__ex2g4s.u()) {
|
|
@@ -30537,16 +30630,16 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30537
30630
|
destination.b1(_AssetId___get_value__impl__om0zk2(it));
|
|
30538
30631
|
}
|
|
30539
30632
|
|
|
30540
|
-
var tmp13_minOnlineBudget = this.
|
|
30633
|
+
var tmp13_minOnlineBudget = this.da7_1.l35_1;
|
|
30541
30634
|
var request = new NotaryProofRequest(tmp4_dealId, tmp6_subjectSteamId, tmp7_steamOfferId, tmp8_assetId, tmp9_tradeId, tmp5_kind, tmp10_partnerSteamId, tmp11_tradeToken, destination, tmp13_minOnlineBudget);
|
|
30542
|
-
this.
|
|
30635
|
+
this.ha7_1 = this.ca7_1.ka7_1;
|
|
30543
30636
|
var tmp_8 = this;
|
|
30544
30637
|
var this_1 = Default_getInstance_1();
|
|
30545
30638
|
var this_2 = this_1.vt();
|
|
30546
30639
|
var this_3 = serializer(this_2, createKType(getKClass(NotaryProofRequest), arrayOf([]), false));
|
|
30547
|
-
tmp_8.
|
|
30640
|
+
tmp_8.ga7_1 = this_1.k1a(isInterface(this_3, KSerializer) ? this_3 : THROW_CCE(), request);
|
|
30548
30641
|
this.v8_1 = 1;
|
|
30549
|
-
suspendResult = this.
|
|
30642
|
+
suspendResult = this.ca7_1.ja7_1.i39(this);
|
|
30550
30643
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30551
30644
|
return suspendResult;
|
|
30552
30645
|
}
|
|
@@ -30554,7 +30647,7 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30554
30647
|
continue $sm;
|
|
30555
30648
|
case 1:
|
|
30556
30649
|
var ARGUMENT = suspendResult;
|
|
30557
|
-
var ARGUMENT_0 = this.
|
|
30650
|
+
var ARGUMENT_0 = this.ha7_1(this.ga7_1, ARGUMENT, this.fa7_1.g33_1);
|
|
30558
30651
|
this.v8_1 = 2;
|
|
30559
30652
|
suspendResult = await_0(ARGUMENT_0, this);
|
|
30560
30653
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -30564,7 +30657,7 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30564
30657
|
continue $sm;
|
|
30565
30658
|
case 2:
|
|
30566
30659
|
var payload = suspendResult;
|
|
30567
|
-
return new ProofSubmission(this.
|
|
30660
|
+
return new ProofSubmission(this.da7_1.e35_1, payload);
|
|
30568
30661
|
case 3:
|
|
30569
30662
|
throw this.y8_1;
|
|
30570
30663
|
}
|
|
@@ -30580,13 +30673,13 @@ protoOf($proveReadCOROUTINE$).d9 = function () {
|
|
|
30580
30673
|
while (true);
|
|
30581
30674
|
};
|
|
30582
30675
|
function DelegatingNotaryProver(maxConcurrency, tokenProvider, delegate) {
|
|
30583
|
-
this.
|
|
30584
|
-
this.
|
|
30585
|
-
this.
|
|
30586
|
-
this.
|
|
30676
|
+
this.ia7_1 = maxConcurrency;
|
|
30677
|
+
this.ja7_1 = tokenProvider;
|
|
30678
|
+
this.ka7_1 = delegate;
|
|
30679
|
+
this.la7_1 = 'tlsn';
|
|
30587
30680
|
}
|
|
30588
30681
|
protoOf(DelegatingNotaryProver).f39 = function () {
|
|
30589
|
-
return this.
|
|
30682
|
+
return this.la7_1;
|
|
30590
30683
|
};
|
|
30591
30684
|
protoOf(DelegatingNotaryProver).g39 = function (binding, kind, credential, $completion) {
|
|
30592
30685
|
var tmp = new $proveReadCOROUTINE$(this, binding, kind, credential, $completion);
|
|
@@ -30595,8 +30688,8 @@ protoOf(DelegatingNotaryProver).g39 = function (binding, kind, credential, $comp
|
|
|
30595
30688
|
return tmp.d9();
|
|
30596
30689
|
};
|
|
30597
30690
|
function toBinding(_this__u8e3s4) {
|
|
30598
|
-
var tmp = _DealId___init__impl__icq89m(_this__u8e3s4.
|
|
30599
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
30691
|
+
var tmp = _DealId___init__impl__icq89m(_this__u8e3s4.ka6_1);
|
|
30692
|
+
var tmp0_safe_receiver = _this__u8e3s4.ma6_1;
|
|
30600
30693
|
var tmp_0;
|
|
30601
30694
|
if (tmp0_safe_receiver == null) {
|
|
30602
30695
|
tmp_0 = null;
|
|
@@ -30605,7 +30698,7 @@ function toBinding(_this__u8e3s4) {
|
|
|
30605
30698
|
tmp_0 = _OfferId___init__impl__ivjwrm(tmp0_safe_receiver);
|
|
30606
30699
|
}
|
|
30607
30700
|
var tmp_1 = tmp_0;
|
|
30608
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
30701
|
+
var tmp1_safe_receiver = _this__u8e3s4.na6_1;
|
|
30609
30702
|
var tmp_2;
|
|
30610
30703
|
if (tmp1_safe_receiver == null) {
|
|
30611
30704
|
tmp_2 = null;
|
|
@@ -30614,7 +30707,7 @@ function toBinding(_this__u8e3s4) {
|
|
|
30614
30707
|
tmp_2 = _AssetId___init__impl__8dnimm(tmp1_safe_receiver);
|
|
30615
30708
|
}
|
|
30616
30709
|
var tmp_3 = tmp_2;
|
|
30617
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
30710
|
+
var tmp2_safe_receiver = _this__u8e3s4.oa6_1;
|
|
30618
30711
|
var tmp_4;
|
|
30619
30712
|
if (tmp2_safe_receiver == null) {
|
|
30620
30713
|
tmp_4 = null;
|
|
@@ -30623,7 +30716,7 @@ function toBinding(_this__u8e3s4) {
|
|
|
30623
30716
|
tmp_4 = _TradeId___init__impl__31p3tm(tmp2_safe_receiver);
|
|
30624
30717
|
}
|
|
30625
30718
|
var tmp_5 = tmp_4;
|
|
30626
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
30719
|
+
var tmp3_safe_receiver = _this__u8e3s4.qa6_1;
|
|
30627
30720
|
var tmp_6;
|
|
30628
30721
|
if (tmp3_safe_receiver == null) {
|
|
30629
30722
|
tmp_6 = null;
|
|
@@ -30633,7 +30726,7 @@ function toBinding(_this__u8e3s4) {
|
|
|
30633
30726
|
}
|
|
30634
30727
|
var tmp_7 = tmp_6;
|
|
30635
30728
|
// Inline function 'kotlin.collections.map' call
|
|
30636
|
-
var this_0 = _this__u8e3s4.
|
|
30729
|
+
var this_0 = _this__u8e3s4.sa6_1;
|
|
30637
30730
|
// Inline function 'kotlin.collections.mapTo' call
|
|
30638
30731
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
30639
30732
|
var _iterator__ex2g4s = this_0.t();
|
|
@@ -30642,7 +30735,7 @@ function toBinding(_this__u8e3s4) {
|
|
|
30642
30735
|
var tmp$ret$10 = new AssetId(_AssetId___init__impl__8dnimm(item));
|
|
30643
30736
|
destination.b1(tmp$ret$10);
|
|
30644
30737
|
}
|
|
30645
|
-
return new ProvenReadBinding(tmp, tmp_1, tmp_3, tmp_5, tmp_7, _this__u8e3s4.
|
|
30738
|
+
return new ProvenReadBinding(tmp, tmp_1, tmp_3, tmp_5, tmp_7, _this__u8e3s4.ra6_1, destination, _this__u8e3s4.ta6_1);
|
|
30646
30739
|
}
|
|
30647
30740
|
function toKind(_this__u8e3s4) {
|
|
30648
30741
|
var tmp0 = get_entries_2();
|
|
@@ -30652,7 +30745,7 @@ function toKind(_this__u8e3s4) {
|
|
|
30652
30745
|
var _iterator__ex2g4s = tmp0.t();
|
|
30653
30746
|
while (_iterator__ex2g4s.u()) {
|
|
30654
30747
|
var element = _iterator__ex2g4s.v();
|
|
30655
|
-
if (element.z_1 === _this__u8e3s4.
|
|
30748
|
+
if (element.z_1 === _this__u8e3s4.pa6_1) {
|
|
30656
30749
|
tmp$ret$0 = element;
|
|
30657
30750
|
break $l$block;
|
|
30658
30751
|
}
|
|
@@ -30663,7 +30756,7 @@ function toKind(_this__u8e3s4) {
|
|
|
30663
30756
|
var tmp;
|
|
30664
30757
|
if (tmp0_elvis_lhs == null) {
|
|
30665
30758
|
// Inline function 'kotlin.error' call
|
|
30666
|
-
var message = "unknown proven read kind '" + _this__u8e3s4.
|
|
30759
|
+
var message = "unknown proven read kind '" + _this__u8e3s4.pa6_1 + "' \u2014 this build does not define it";
|
|
30667
30760
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
30668
30761
|
} else {
|
|
30669
30762
|
tmp = tmp0_elvis_lhs;
|
|
@@ -30671,15 +30764,15 @@ function toKind(_this__u8e3s4) {
|
|
|
30671
30764
|
return tmp;
|
|
30672
30765
|
}
|
|
30673
30766
|
function toSubjectSteamId(_this__u8e3s4) {
|
|
30674
|
-
return _SteamId___init__impl__aj11zm(_this__u8e3s4.
|
|
30767
|
+
return _SteamId___init__impl__aj11zm(_this__u8e3s4.la6_1);
|
|
30675
30768
|
}
|
|
30676
30769
|
function $proveCOROUTINE$(_this__u8e3s4, binding, kind, subjectSteamId, steamAccessToken, resultContinuation) {
|
|
30677
30770
|
CoroutineImpl.call(this, resultContinuation);
|
|
30678
|
-
this.
|
|
30679
|
-
this.
|
|
30680
|
-
this.
|
|
30681
|
-
this.
|
|
30682
|
-
this.
|
|
30771
|
+
this.ua7_1 = _this__u8e3s4;
|
|
30772
|
+
this.va7_1 = binding;
|
|
30773
|
+
this.wa7_1 = kind;
|
|
30774
|
+
this.xa7_1 = subjectSteamId;
|
|
30775
|
+
this.ya7_1 = steamAccessToken;
|
|
30683
30776
|
}
|
|
30684
30777
|
protoOf($proveCOROUTINE$).d9 = function () {
|
|
30685
30778
|
var suspendResult = this.x8_1;
|
|
@@ -30689,45 +30782,45 @@ protoOf($proveCOROUTINE$).d9 = function () {
|
|
|
30689
30782
|
switch (tmp) {
|
|
30690
30783
|
case 0:
|
|
30691
30784
|
this.w8_1 = 10;
|
|
30692
|
-
if (!this.
|
|
30693
|
-
var message = this.
|
|
30785
|
+
if (!this.ua7_1.ga8_1.h2l().d1(this.wa7_1)) {
|
|
30786
|
+
var message = this.wa7_1.toString() + ' is not in NotaryConfig.enabledReads, so no proof may be spent on it';
|
|
30694
30787
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
30695
30788
|
}
|
|
30696
30789
|
|
|
30697
|
-
this.
|
|
30790
|
+
this.za7_1 = this.ua7_1.oa8_1;
|
|
30698
30791
|
this.v8_1 = 1;
|
|
30699
|
-
suspendResult = this.
|
|
30792
|
+
suspendResult = this.za7_1.p2e(this);
|
|
30700
30793
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30701
30794
|
return suspendResult;
|
|
30702
30795
|
}
|
|
30703
30796
|
|
|
30704
30797
|
continue $sm;
|
|
30705
30798
|
case 1:
|
|
30706
|
-
this.
|
|
30799
|
+
this.aa8_1 = Unit_instance;
|
|
30707
30800
|
this.v8_1 = 2;
|
|
30708
30801
|
continue $sm;
|
|
30709
30802
|
case 2:
|
|
30710
30803
|
this.w8_1 = 9;
|
|
30711
30804
|
this.v8_1 = 3;
|
|
30712
|
-
suspendResult = this.
|
|
30805
|
+
suspendResult = this.ua7_1.ha8_1.i39(this);
|
|
30713
30806
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30714
30807
|
return suspendResult;
|
|
30715
30808
|
}
|
|
30716
30809
|
|
|
30717
30810
|
continue $sm;
|
|
30718
30811
|
case 3:
|
|
30719
|
-
this.
|
|
30720
|
-
this.
|
|
30721
|
-
if (this.
|
|
30812
|
+
this.ea8_1 = suspendResult;
|
|
30813
|
+
this.da8_1 = this.ua7_1.ka8_1.o36(this.wa7_1, this.va7_1, this.xa7_1, this.ua7_1.ja8_1);
|
|
30814
|
+
if (this.da8_1.y35()) {
|
|
30722
30815
|
this.v8_1 = 4;
|
|
30723
|
-
suspendResult = this.
|
|
30816
|
+
suspendResult = this.ua7_1.la8_1.j39(this);
|
|
30724
30817
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30725
30818
|
return suspendResult;
|
|
30726
30819
|
}
|
|
30727
30820
|
continue $sm;
|
|
30728
30821
|
} else {
|
|
30729
30822
|
var tmp_0 = this;
|
|
30730
|
-
tmp_0.
|
|
30823
|
+
tmp_0.fa8_1 = null;
|
|
30731
30824
|
this.v8_1 = 5;
|
|
30732
30825
|
continue $sm;
|
|
30733
30826
|
}
|
|
@@ -30738,7 +30831,7 @@ protoOf($proveCOROUTINE$).d9 = function () {
|
|
|
30738
30831
|
var tmp$ret$0;
|
|
30739
30832
|
l$ret$1: do {
|
|
30740
30833
|
if (tmp0 == null) {
|
|
30741
|
-
var message_0 = this.
|
|
30834
|
+
var message_0 = this.wa7_1.toString() + ' is cookie-authenticated but there is no Steam web session on this device';
|
|
30742
30835
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
30743
30836
|
} else {
|
|
30744
30837
|
tmp$ret$0 = tmp0;
|
|
@@ -30746,20 +30839,20 @@ protoOf($proveCOROUTINE$).d9 = function () {
|
|
|
30746
30839
|
}
|
|
30747
30840
|
}
|
|
30748
30841
|
while (false);
|
|
30749
|
-
tmp_1.
|
|
30842
|
+
tmp_1.fa8_1 = tmp$ret$0;
|
|
30750
30843
|
this.v8_1 = 5;
|
|
30751
30844
|
continue $sm;
|
|
30752
30845
|
case 5:
|
|
30753
|
-
this.
|
|
30846
|
+
this.ca8_1 = this.fa8_1;
|
|
30754
30847
|
var tmp_2 = this;
|
|
30755
30848
|
var tmp_3;
|
|
30756
|
-
if (this.
|
|
30757
|
-
var tmp0_safe_receiver = this.
|
|
30849
|
+
if (this.da8_1.b36()) {
|
|
30850
|
+
var tmp0_safe_receiver = this.ca8_1;
|
|
30758
30851
|
var tmp0_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l39_1;
|
|
30759
30852
|
var tmp$ret$2;
|
|
30760
30853
|
l$ret$3: do {
|
|
30761
30854
|
if (tmp0_0 == null) {
|
|
30762
|
-
var message_1 = this.
|
|
30855
|
+
var message_1 = this.wa7_1.toString() + ' needs the Steam sessionid and there is none';
|
|
30763
30856
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
30764
30857
|
} else {
|
|
30765
30858
|
tmp$ret$2 = tmp0_0;
|
|
@@ -30772,9 +30865,9 @@ protoOf($proveCOROUTINE$).d9 = function () {
|
|
|
30772
30865
|
tmp_3 = null;
|
|
30773
30866
|
}
|
|
30774
30867
|
|
|
30775
|
-
tmp_2.
|
|
30868
|
+
tmp_2.ba8_1 = tmp_3;
|
|
30776
30869
|
this.v8_1 = 6;
|
|
30777
|
-
suspendResult = this.
|
|
30870
|
+
suspendResult = this.ua7_1.ia8_1.pa8(this.ua7_1.ga8_1.threadCount, this);
|
|
30778
30871
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30779
30872
|
return suspendResult;
|
|
30780
30873
|
}
|
|
@@ -30782,11 +30875,11 @@ protoOf($proveCOROUTINE$).d9 = function () {
|
|
|
30782
30875
|
continue $sm;
|
|
30783
30876
|
case 6:
|
|
30784
30877
|
this.v8_1 = 7;
|
|
30785
|
-
var tmp_4 = ProvenSentBudget_instance.g36(this.
|
|
30786
|
-
var tmp1_elvis_lhs = this.
|
|
30787
|
-
var tmp_5 = tmp1_elvis_lhs == null ? this.
|
|
30788
|
-
var tmp2_safe_receiver = this.
|
|
30789
|
-
suspendResult = this.
|
|
30878
|
+
var tmp_4 = ProvenSentBudget_instance.g36(this.da8_1, this.ua7_1.ga8_1, this.ya7_1.length);
|
|
30879
|
+
var tmp1_elvis_lhs = this.da8_1.w35_1;
|
|
30880
|
+
var tmp_5 = tmp1_elvis_lhs == null ? this.ua7_1.ga8_1.maxRecvData : tmp1_elvis_lhs;
|
|
30881
|
+
var tmp2_safe_receiver = this.ca8_1;
|
|
30882
|
+
suspendResult = this.ua7_1.ia8_1.qa8(new WasmProveRequest(this.ua7_1.ga8_1.notaryUrl, this.ea8_1, this.ua7_1.ga8_1.proxyBaseUrl, this.da8_1, this.ya7_1, tmp_4, tmp_5, this.da8_1.x35_1, this.ua7_1.ga8_1.maxRecvRecordsOnline, this.ua7_1.ga8_1.rootStorePem, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.k39_1, this.ba8_1), this);
|
|
30790
30883
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
30791
30884
|
return suspendResult;
|
|
30792
30885
|
}
|
|
@@ -30794,19 +30887,19 @@ protoOf($proveCOROUTINE$).d9 = function () {
|
|
|
30794
30887
|
continue $sm;
|
|
30795
30888
|
case 7:
|
|
30796
30889
|
var bytes = suspendResult;
|
|
30797
|
-
this.
|
|
30890
|
+
this.aa8_1 = new ProofSubmission(this.va7_1.e35_1, Default_getInstance_0().bj(bytes));
|
|
30798
30891
|
this.w8_1 = 10;
|
|
30799
30892
|
this.v8_1 = 8;
|
|
30800
30893
|
continue $sm;
|
|
30801
30894
|
case 8:
|
|
30802
|
-
var tmp_6 = this.
|
|
30895
|
+
var tmp_6 = this.aa8_1;
|
|
30803
30896
|
this.w8_1 = 10;
|
|
30804
|
-
this.
|
|
30897
|
+
this.za7_1.o1a();
|
|
30805
30898
|
return tmp_6;
|
|
30806
30899
|
case 9:
|
|
30807
30900
|
this.w8_1 = 10;
|
|
30808
30901
|
var t = this.y8_1;
|
|
30809
|
-
this.
|
|
30902
|
+
this.za7_1.o1a();
|
|
30810
30903
|
throw t;
|
|
30811
30904
|
case 10:
|
|
30812
30905
|
throw this.y8_1;
|
|
@@ -30826,23 +30919,23 @@ function WasmNotaryProver(config, tokenProvider, module_0, adapter, mapper, cook
|
|
|
30826
30919
|
adapter = adapter === VOID ? new Cs2GameAdapter() : adapter;
|
|
30827
30920
|
mapper = mapper === VOID ? new SteamProofReadMapper(config) : mapper;
|
|
30828
30921
|
cookies = cookies === VOID ? NoSteamProofCookieSource_instance : cookies;
|
|
30829
|
-
this.
|
|
30830
|
-
this.
|
|
30831
|
-
this.
|
|
30832
|
-
this.
|
|
30833
|
-
this.
|
|
30834
|
-
this.
|
|
30835
|
-
this.
|
|
30836
|
-
this.
|
|
30837
|
-
this.
|
|
30922
|
+
this.ga8_1 = config;
|
|
30923
|
+
this.ha8_1 = tokenProvider;
|
|
30924
|
+
this.ia8_1 = module_0;
|
|
30925
|
+
this.ja8_1 = adapter;
|
|
30926
|
+
this.ka8_1 = mapper;
|
|
30927
|
+
this.la8_1 = cookies;
|
|
30928
|
+
this.ma8_1 = this.ga8_1.maxConcurrency;
|
|
30929
|
+
this.na8_1 = 'tlsn';
|
|
30930
|
+
this.oa8_1 = Semaphore(this.ma8_1);
|
|
30838
30931
|
}
|
|
30839
30932
|
protoOf(WasmNotaryProver).f39 = function () {
|
|
30840
|
-
return this.
|
|
30933
|
+
return this.na8_1;
|
|
30841
30934
|
};
|
|
30842
30935
|
protoOf(WasmNotaryProver).g39 = function (binding, kind, credential, $completion) {
|
|
30843
|
-
return this.
|
|
30936
|
+
return this.ra8(binding, kind, credential.h33_1, credential.g33_1, $completion);
|
|
30844
30937
|
};
|
|
30845
|
-
protoOf(WasmNotaryProver).
|
|
30938
|
+
protoOf(WasmNotaryProver).ra8 = function (binding, kind, subjectSteamId, steamAccessToken, $completion) {
|
|
30846
30939
|
var tmp = new $proveCOROUTINE$(this, binding, kind, subjectSteamId, steamAccessToken, $completion);
|
|
30847
30940
|
tmp.x8_1 = Unit_instance;
|
|
30848
30941
|
tmp.y8_1 = null;
|
|
@@ -30853,24 +30946,24 @@ function WasmProveRequest(notaryUrl, notaryToken, proxyBaseUrl, spec, steamAcces
|
|
|
30853
30946
|
rootStorePem = rootStorePem === VOID ? null : rootStorePem;
|
|
30854
30947
|
steamSessionCookie = steamSessionCookie === VOID ? null : steamSessionCookie;
|
|
30855
30948
|
steamSessionId = steamSessionId === VOID ? null : steamSessionId;
|
|
30856
|
-
this.
|
|
30857
|
-
this.
|
|
30858
|
-
this.
|
|
30859
|
-
this.
|
|
30860
|
-
this.
|
|
30861
|
-
this.
|
|
30862
|
-
this.
|
|
30863
|
-
this.
|
|
30864
|
-
this.
|
|
30865
|
-
this.
|
|
30866
|
-
this.
|
|
30867
|
-
this.
|
|
30949
|
+
this.sa8_1 = notaryUrl;
|
|
30950
|
+
this.ta8_1 = notaryToken;
|
|
30951
|
+
this.ua8_1 = proxyBaseUrl;
|
|
30952
|
+
this.va8_1 = spec;
|
|
30953
|
+
this.wa8_1 = steamAccessToken;
|
|
30954
|
+
this.xa8_1 = maxSentData;
|
|
30955
|
+
this.ya8_1 = maxRecvData;
|
|
30956
|
+
this.za8_1 = maxRecvDataOnline;
|
|
30957
|
+
this.aa9_1 = maxRecvRecordsOnline;
|
|
30958
|
+
this.ba9_1 = rootStorePem;
|
|
30959
|
+
this.ca9_1 = steamSessionCookie;
|
|
30960
|
+
this.da9_1 = steamSessionId;
|
|
30868
30961
|
}
|
|
30869
30962
|
protoOf(WasmProveRequest).toString = function () {
|
|
30870
|
-
var tmp = 'WasmProveRequest(notaryUrl=' + this.
|
|
30871
|
-
var tmp_0 = 'spec=' + this.
|
|
30872
|
-
var tmp_1 = 'maxRecvDataOnline=' + this.
|
|
30873
|
-
var tmp0_safe_receiver = this.
|
|
30963
|
+
var tmp = 'WasmProveRequest(notaryUrl=' + this.sa8_1 + ', notaryToken=<redacted>, proxyBaseUrl=' + this.ua8_1 + ', ';
|
|
30964
|
+
var tmp_0 = 'spec=' + this.va8_1.toString() + ', steamAccessToken=<redacted>, maxSentData=' + this.xa8_1 + ', maxRecvData=' + this.ya8_1 + ', ';
|
|
30965
|
+
var tmp_1 = 'maxRecvDataOnline=' + this.za8_1 + ', maxRecvRecordsOnline=' + this.aa9_1 + ', ';
|
|
30966
|
+
var tmp0_safe_receiver = this.ba9_1;
|
|
30874
30967
|
var tmp_2;
|
|
30875
30968
|
if (tmp0_safe_receiver == null) {
|
|
30876
30969
|
tmp_2 = null;
|
|
@@ -30880,7 +30973,7 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
30880
30973
|
}
|
|
30881
30974
|
var tmp_3 = 'rootStorePem=' + tmp_2 + ', ';
|
|
30882
30975
|
var tmp_4;
|
|
30883
|
-
if (this.
|
|
30976
|
+
if (this.ca9_1 == null) {
|
|
30884
30977
|
tmp_4 = null;
|
|
30885
30978
|
} else {
|
|
30886
30979
|
// Inline function 'kotlin.let' call
|
|
@@ -30888,7 +30981,7 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
30888
30981
|
}
|
|
30889
30982
|
var tmp_5 = 'steamSessionCookie=' + tmp_4 + ', ';
|
|
30890
30983
|
var tmp_6;
|
|
30891
|
-
if (this.
|
|
30984
|
+
if (this.da9_1 == null) {
|
|
30892
30985
|
tmp_6 = null;
|
|
30893
30986
|
} else {
|
|
30894
30987
|
// Inline function 'kotlin.let' call
|
|
@@ -30897,18 +30990,18 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
30897
30990
|
return tmp + tmp_0 + tmp_1 + tmp_3 + tmp_5 + ('steamSessionId=' + tmp_6 + ')');
|
|
30898
30991
|
};
|
|
30899
30992
|
protoOf(WasmProveRequest).hashCode = function () {
|
|
30900
|
-
var result = getStringHashCode(this.
|
|
30901
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
30902
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
30903
|
-
result = imul(result, 31) + this.
|
|
30904
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
30905
|
-
result = imul(result, 31) + this.
|
|
30906
|
-
result = imul(result, 31) + this.
|
|
30907
|
-
result = imul(result, 31) + this.
|
|
30908
|
-
result = imul(result, 31) + (this.
|
|
30909
|
-
result = imul(result, 31) + (this.
|
|
30910
|
-
result = imul(result, 31) + (this.
|
|
30911
|
-
result = imul(result, 31) + (this.
|
|
30993
|
+
var result = getStringHashCode(this.sa8_1);
|
|
30994
|
+
result = imul(result, 31) + getStringHashCode(this.ta8_1) | 0;
|
|
30995
|
+
result = imul(result, 31) + getStringHashCode(this.ua8_1) | 0;
|
|
30996
|
+
result = imul(result, 31) + this.va8_1.hashCode() | 0;
|
|
30997
|
+
result = imul(result, 31) + getStringHashCode(this.wa8_1) | 0;
|
|
30998
|
+
result = imul(result, 31) + this.xa8_1 | 0;
|
|
30999
|
+
result = imul(result, 31) + this.ya8_1 | 0;
|
|
31000
|
+
result = imul(result, 31) + this.za8_1 | 0;
|
|
31001
|
+
result = imul(result, 31) + (this.aa9_1 == null ? 0 : this.aa9_1) | 0;
|
|
31002
|
+
result = imul(result, 31) + (this.ba9_1 == null ? 0 : getStringHashCode(this.ba9_1)) | 0;
|
|
31003
|
+
result = imul(result, 31) + (this.ca9_1 == null ? 0 : getStringHashCode(this.ca9_1)) | 0;
|
|
31004
|
+
result = imul(result, 31) + (this.da9_1 == null ? 0 : getStringHashCode(this.da9_1)) | 0;
|
|
30912
31005
|
return result;
|
|
30913
31006
|
};
|
|
30914
31007
|
protoOf(WasmProveRequest).equals = function (other) {
|
|
@@ -30916,29 +31009,29 @@ protoOf(WasmProveRequest).equals = function (other) {
|
|
|
30916
31009
|
return true;
|
|
30917
31010
|
if (!(other instanceof WasmProveRequest))
|
|
30918
31011
|
return false;
|
|
30919
|
-
if (!(this.
|
|
31012
|
+
if (!(this.sa8_1 === other.sa8_1))
|
|
30920
31013
|
return false;
|
|
30921
|
-
if (!(this.
|
|
31014
|
+
if (!(this.ta8_1 === other.ta8_1))
|
|
30922
31015
|
return false;
|
|
30923
|
-
if (!(this.
|
|
31016
|
+
if (!(this.ua8_1 === other.ua8_1))
|
|
30924
31017
|
return false;
|
|
30925
|
-
if (!this.
|
|
31018
|
+
if (!this.va8_1.equals(other.va8_1))
|
|
30926
31019
|
return false;
|
|
30927
|
-
if (!(this.
|
|
31020
|
+
if (!(this.wa8_1 === other.wa8_1))
|
|
30928
31021
|
return false;
|
|
30929
|
-
if (!(this.
|
|
31022
|
+
if (!(this.xa8_1 === other.xa8_1))
|
|
30930
31023
|
return false;
|
|
30931
|
-
if (!(this.
|
|
31024
|
+
if (!(this.ya8_1 === other.ya8_1))
|
|
30932
31025
|
return false;
|
|
30933
|
-
if (!(this.
|
|
31026
|
+
if (!(this.za8_1 === other.za8_1))
|
|
30934
31027
|
return false;
|
|
30935
|
-
if (!(this.
|
|
31028
|
+
if (!(this.aa9_1 == other.aa9_1))
|
|
30936
31029
|
return false;
|
|
30937
|
-
if (!(this.
|
|
31030
|
+
if (!(this.ba9_1 == other.ba9_1))
|
|
30938
31031
|
return false;
|
|
30939
|
-
if (!(this.
|
|
31032
|
+
if (!(this.ca9_1 == other.ca9_1))
|
|
30940
31033
|
return false;
|
|
30941
|
-
if (!(this.
|
|
31034
|
+
if (!(this.da9_1 == other.da9_1))
|
|
30942
31035
|
return false;
|
|
30943
31036
|
return true;
|
|
30944
31037
|
};
|
|
@@ -30949,7 +31042,7 @@ function closeQuietly($this, channel, $completion) {
|
|
|
30949
31042
|
return tmp.d9();
|
|
30950
31043
|
}
|
|
30951
31044
|
function progressCallback($this) {
|
|
30952
|
-
var tmp0_safe_receiver = $this.
|
|
31045
|
+
var tmp0_safe_receiver = $this.qa9_1;
|
|
30953
31046
|
var tmp;
|
|
30954
31047
|
if (tmp0_safe_receiver == null) {
|
|
30955
31048
|
tmp = null;
|
|
@@ -30962,7 +31055,7 @@ function progressCallback($this) {
|
|
|
30962
31055
|
function BundledWasmProverModule$prove$lambda(this$0, $request, $spec) {
|
|
30963
31056
|
return function () {
|
|
30964
31057
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
30965
|
-
return this$0.
|
|
31058
|
+
return this$0.ra9_1.connectProxy($request.ua8_1, $spec.m35_1, 443);
|
|
30966
31059
|
};
|
|
30967
31060
|
}
|
|
30968
31061
|
function BundledWasmProverModule$progressCallback$lambda(this$0, $sink) {
|
|
@@ -30989,8 +31082,8 @@ function BundledWasmProverModule$progressCallback$lambda(this$0, $sink) {
|
|
|
30989
31082
|
}
|
|
30990
31083
|
function $initializeCOROUTINE$(_this__u8e3s4, threadCount, resultContinuation) {
|
|
30991
31084
|
CoroutineImpl.call(this, resultContinuation);
|
|
30992
|
-
this.
|
|
30993
|
-
this.
|
|
31085
|
+
this.baa_1 = _this__u8e3s4;
|
|
31086
|
+
this.caa_1 = threadCount;
|
|
30994
31087
|
}
|
|
30995
31088
|
protoOf($initializeCOROUTINE$).d9 = function () {
|
|
30996
31089
|
var suspendResult = this.x8_1;
|
|
@@ -31000,7 +31093,7 @@ protoOf($initializeCOROUTINE$).d9 = function () {
|
|
|
31000
31093
|
switch (tmp) {
|
|
31001
31094
|
case 0:
|
|
31002
31095
|
this.w8_1 = 5;
|
|
31003
|
-
if (this.
|
|
31096
|
+
if (this.baa_1.sa9_1 == null) {
|
|
31004
31097
|
this.v8_1 = 1;
|
|
31005
31098
|
suspendResult = await_0(importModule(proverAssetUrl('pkg/client_wasm.js')), this);
|
|
31006
31099
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -31013,7 +31106,7 @@ protoOf($initializeCOROUTINE$).d9 = function () {
|
|
|
31013
31106
|
}
|
|
31014
31107
|
|
|
31015
31108
|
case 1:
|
|
31016
|
-
this.
|
|
31109
|
+
this.daa_1 = suspendResult;
|
|
31017
31110
|
this.v8_1 = 2;
|
|
31018
31111
|
suspendResult = await_0(importModule(proverAssetUrl('transport/dist/index.js')), this);
|
|
31019
31112
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -31023,13 +31116,13 @@ protoOf($initializeCOROUTINE$).d9 = function () {
|
|
|
31023
31116
|
continue $sm;
|
|
31024
31117
|
case 2:
|
|
31025
31118
|
var ARGUMENT = suspendResult;
|
|
31026
|
-
this.
|
|
31027
|
-
this.
|
|
31119
|
+
this.baa_1.ra9_1 = ARGUMENT;
|
|
31120
|
+
this.baa_1.sa9_1 = this.baa_1.ra9_1.createProver(this.daa_1);
|
|
31028
31121
|
this.v8_1 = 3;
|
|
31029
31122
|
continue $sm;
|
|
31030
31123
|
case 3:
|
|
31031
31124
|
this.v8_1 = 4;
|
|
31032
|
-
var this_0 = this.
|
|
31125
|
+
var this_0 = this.baa_1.sa9_1.initialize(null, this.caa_1);
|
|
31033
31126
|
suspendResult = await_0(this_0, this);
|
|
31034
31127
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31035
31128
|
return suspendResult;
|
|
@@ -31054,8 +31147,8 @@ protoOf($initializeCOROUTINE$).d9 = function () {
|
|
|
31054
31147
|
};
|
|
31055
31148
|
function $proveCOROUTINE$_0(_this__u8e3s4, request, resultContinuation) {
|
|
31056
31149
|
CoroutineImpl.call(this, resultContinuation);
|
|
31057
|
-
this.
|
|
31058
|
-
this.
|
|
31150
|
+
this.maa_1 = _this__u8e3s4;
|
|
31151
|
+
this.naa_1 = request;
|
|
31059
31152
|
}
|
|
31060
31153
|
protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
31061
31154
|
var suspendResult = this.x8_1;
|
|
@@ -31065,15 +31158,15 @@ protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
|
31065
31158
|
switch (tmp) {
|
|
31066
31159
|
case 0:
|
|
31067
31160
|
this.w8_1 = 15;
|
|
31068
|
-
this.
|
|
31069
|
-
var tmp0_safe_receiver = this.
|
|
31161
|
+
this.saa_1 = this.naa_1.va8_1;
|
|
31162
|
+
var tmp0_safe_receiver = this.maa_1.qa9_1;
|
|
31070
31163
|
if (tmp0_safe_receiver == null)
|
|
31071
31164
|
null;
|
|
31072
31165
|
else {
|
|
31073
|
-
this.
|
|
31166
|
+
this.maa_1;
|
|
31074
31167
|
var tmp_0;
|
|
31075
31168
|
try {
|
|
31076
|
-
tmp0_safe_receiver(issuanceLine(this.
|
|
31169
|
+
tmp0_safe_receiver(issuanceLine(this.naa_1));
|
|
31077
31170
|
tmp_0 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
31078
31171
|
} catch ($p) {
|
|
31079
31172
|
var tmp_1;
|
|
@@ -31090,7 +31183,7 @@ protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
|
31090
31183
|
|
|
31091
31184
|
this.w8_1 = 2;
|
|
31092
31185
|
this.v8_1 = 1;
|
|
31093
|
-
var this_0 = this.
|
|
31186
|
+
var this_0 = this.maa_1.ra9_1.connectNotary(this.naa_1.sa8_1, this.naa_1.ta8_1);
|
|
31094
31187
|
suspendResult = await_0(this_0, this);
|
|
31095
31188
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31096
31189
|
return suspendResult;
|
|
@@ -31098,7 +31191,7 @@ protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
|
31098
31191
|
|
|
31099
31192
|
continue $sm;
|
|
31100
31193
|
case 1:
|
|
31101
|
-
this.
|
|
31194
|
+
this.xaa_1 = suspendResult;
|
|
31102
31195
|
this.w8_1 = 15;
|
|
31103
31196
|
this.v8_1 = 3;
|
|
31104
31197
|
continue $sm;
|
|
@@ -31108,29 +31201,29 @@ protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
|
31108
31201
|
if (tmp_2 instanceof Error) {
|
|
31109
31202
|
var cause = this.y8_1;
|
|
31110
31203
|
var tmp_3 = this;
|
|
31111
|
-
throw IllegalStateException_init_$Create$_0('notary handshake failed for ' + this.
|
|
31204
|
+
throw IllegalStateException_init_$Create$_0('notary handshake failed for ' + this.naa_1.sa8_1 + ' \u2014 the cause is not observable from a ' + 'browser (rejected credential, notary unavailable, or blocked upgrade all look alike)', cause);
|
|
31112
31205
|
} else {
|
|
31113
31206
|
throw this.y8_1;
|
|
31114
31207
|
}
|
|
31115
31208
|
|
|
31116
31209
|
case 3:
|
|
31117
31210
|
this.w8_1 = 15;
|
|
31118
|
-
this.
|
|
31119
|
-
this.
|
|
31211
|
+
this.paa_1 = this.xaa_1;
|
|
31212
|
+
this.uaa_1 = Unit_instance;
|
|
31120
31213
|
this.v8_1 = 4;
|
|
31121
31214
|
continue $sm;
|
|
31122
31215
|
case 4:
|
|
31123
31216
|
this.w8_1 = 13;
|
|
31124
31217
|
var tmp_4 = this;
|
|
31125
|
-
var tmp1_onTrace = this.
|
|
31126
|
-
tmp_4.
|
|
31127
|
-
this.
|
|
31218
|
+
var tmp1_onTrace = this.maa_1.qa9_1;
|
|
31219
|
+
tmp_4.raa_1 = lazyTargetChannel(BundledWasmProverModule$prove$lambda(this.maa_1, this.naa_1, this.saa_1), tmp1_onTrace);
|
|
31220
|
+
this.waa_1 = Unit_instance;
|
|
31128
31221
|
this.v8_1 = 5;
|
|
31129
31222
|
continue $sm;
|
|
31130
31223
|
case 5:
|
|
31131
31224
|
this.w8_1 = 11;
|
|
31132
31225
|
this.v8_1 = 6;
|
|
31133
|
-
var this_1 = this.
|
|
31226
|
+
var this_1 = this.maa_1.sa9_1.prove(this.paa_1, this.raa_1, issuanceConfig(this.naa_1), httpRequest(this.naa_1), progressCallback(this.maa_1));
|
|
31134
31227
|
suspendResult = await_0(this_1, this);
|
|
31135
31228
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31136
31229
|
return suspendResult;
|
|
@@ -31138,61 +31231,61 @@ protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
|
31138
31231
|
|
|
31139
31232
|
continue $sm;
|
|
31140
31233
|
case 6:
|
|
31141
|
-
this.
|
|
31234
|
+
this.waa_1 = suspendResult;
|
|
31142
31235
|
this.v8_1 = 7;
|
|
31143
31236
|
continue $sm;
|
|
31144
31237
|
case 7:
|
|
31145
|
-
this.
|
|
31238
|
+
this.vaa_1 = this.waa_1;
|
|
31146
31239
|
this.w8_1 = 13;
|
|
31147
31240
|
this.v8_1 = 8;
|
|
31148
|
-
suspendResult = closeQuietly(this.
|
|
31241
|
+
suspendResult = closeQuietly(this.maa_1, this.raa_1, this);
|
|
31149
31242
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31150
31243
|
return suspendResult;
|
|
31151
31244
|
}
|
|
31152
31245
|
|
|
31153
31246
|
continue $sm;
|
|
31154
31247
|
case 8:
|
|
31155
|
-
this.
|
|
31248
|
+
this.uaa_1 = this.vaa_1;
|
|
31156
31249
|
this.w8_1 = 15;
|
|
31157
31250
|
this.v8_1 = 9;
|
|
31158
31251
|
continue $sm;
|
|
31159
31252
|
case 9:
|
|
31160
|
-
this.
|
|
31253
|
+
this.taa_1 = this.uaa_1;
|
|
31161
31254
|
this.w8_1 = 15;
|
|
31162
31255
|
this.v8_1 = 10;
|
|
31163
|
-
suspendResult = closeQuietly(this.
|
|
31256
|
+
suspendResult = closeQuietly(this.maa_1, this.paa_1, this);
|
|
31164
31257
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31165
31258
|
return suspendResult;
|
|
31166
31259
|
}
|
|
31167
31260
|
|
|
31168
31261
|
continue $sm;
|
|
31169
31262
|
case 10:
|
|
31170
|
-
var out = this.
|
|
31171
|
-
return asByteArray(this.
|
|
31263
|
+
var out = this.taa_1;
|
|
31264
|
+
return asByteArray(this.maa_1.sa9_1.present(out.attestation, out.secrets, revealPolicy(this.saa_1)));
|
|
31172
31265
|
case 11:
|
|
31173
31266
|
this.w8_1 = 13;
|
|
31174
|
-
this.
|
|
31267
|
+
this.qaa_1 = this.y8_1;
|
|
31175
31268
|
this.v8_1 = 12;
|
|
31176
|
-
suspendResult = closeQuietly(this.
|
|
31269
|
+
suspendResult = closeQuietly(this.maa_1, this.raa_1, this);
|
|
31177
31270
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31178
31271
|
return suspendResult;
|
|
31179
31272
|
}
|
|
31180
31273
|
|
|
31181
31274
|
continue $sm;
|
|
31182
31275
|
case 12:
|
|
31183
|
-
throw this.
|
|
31276
|
+
throw this.qaa_1;
|
|
31184
31277
|
case 13:
|
|
31185
31278
|
this.w8_1 = 15;
|
|
31186
|
-
this.
|
|
31279
|
+
this.oaa_1 = this.y8_1;
|
|
31187
31280
|
this.v8_1 = 14;
|
|
31188
|
-
suspendResult = closeQuietly(this.
|
|
31281
|
+
suspendResult = closeQuietly(this.maa_1, this.paa_1, this);
|
|
31189
31282
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31190
31283
|
return suspendResult;
|
|
31191
31284
|
}
|
|
31192
31285
|
|
|
31193
31286
|
continue $sm;
|
|
31194
31287
|
case 14:
|
|
31195
|
-
throw this.
|
|
31288
|
+
throw this.oaa_1;
|
|
31196
31289
|
case 15:
|
|
31197
31290
|
throw this.y8_1;
|
|
31198
31291
|
}
|
|
@@ -31209,8 +31302,8 @@ protoOf($proveCOROUTINE$_0).d9 = function () {
|
|
|
31209
31302
|
};
|
|
31210
31303
|
function $closeQuietlyCOROUTINE$(_this__u8e3s4, channel, resultContinuation) {
|
|
31211
31304
|
CoroutineImpl.call(this, resultContinuation);
|
|
31212
|
-
this.
|
|
31213
|
-
this.
|
|
31305
|
+
this.ma9_1 = _this__u8e3s4;
|
|
31306
|
+
this.na9_1 = channel;
|
|
31214
31307
|
}
|
|
31215
31308
|
protoOf($closeQuietlyCOROUTINE$).d9 = function () {
|
|
31216
31309
|
var suspendResult = this.x8_1;
|
|
@@ -31220,11 +31313,11 @@ protoOf($closeQuietlyCOROUTINE$).d9 = function () {
|
|
|
31220
31313
|
switch (tmp) {
|
|
31221
31314
|
case 0:
|
|
31222
31315
|
this.w8_1 = 3;
|
|
31223
|
-
this.
|
|
31316
|
+
this.ma9_1;
|
|
31224
31317
|
this.w8_1 = 2;
|
|
31225
|
-
this.
|
|
31318
|
+
this.pa9_1 = Companion_instance;
|
|
31226
31319
|
this.v8_1 = 1;
|
|
31227
|
-
var this_0 = this.
|
|
31320
|
+
var this_0 = this.na9_1.close();
|
|
31228
31321
|
suspendResult = await_0(this_0, this);
|
|
31229
31322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31230
31323
|
return suspendResult;
|
|
@@ -31234,8 +31327,8 @@ protoOf($closeQuietlyCOROUTINE$).d9 = function () {
|
|
|
31234
31327
|
case 1:
|
|
31235
31328
|
var tmp2 = suspendResult;
|
|
31236
31329
|
var tmp_0 = this;
|
|
31237
|
-
this.
|
|
31238
|
-
tmp_0.
|
|
31330
|
+
this.pa9_1;
|
|
31331
|
+
tmp_0.oa9_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
31239
31332
|
this.w8_1 = 3;
|
|
31240
31333
|
this.v8_1 = 4;
|
|
31241
31334
|
continue $sm;
|
|
@@ -31245,7 +31338,7 @@ protoOf($closeQuietlyCOROUTINE$).d9 = function () {
|
|
|
31245
31338
|
if (tmp_1 instanceof Error) {
|
|
31246
31339
|
var e = this.y8_1;
|
|
31247
31340
|
var tmp_2 = this;
|
|
31248
|
-
tmp_2.
|
|
31341
|
+
tmp_2.oa9_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
31249
31342
|
this.v8_1 = 4;
|
|
31250
31343
|
continue $sm;
|
|
31251
31344
|
} else {
|
|
@@ -31271,17 +31364,17 @@ protoOf($closeQuietlyCOROUTINE$).d9 = function () {
|
|
|
31271
31364
|
};
|
|
31272
31365
|
function BundledWasmProverModule(onProgress) {
|
|
31273
31366
|
onProgress = onProgress === VOID ? null : onProgress;
|
|
31274
|
-
this.
|
|
31275
|
-
this.
|
|
31276
|
-
this.
|
|
31367
|
+
this.qa9_1 = onProgress;
|
|
31368
|
+
this.ra9_1 = null;
|
|
31369
|
+
this.sa9_1 = null;
|
|
31277
31370
|
}
|
|
31278
|
-
protoOf(BundledWasmProverModule).
|
|
31371
|
+
protoOf(BundledWasmProverModule).pa8 = function (threadCount, $completion) {
|
|
31279
31372
|
var tmp = new $initializeCOROUTINE$(this, threadCount, $completion);
|
|
31280
31373
|
tmp.x8_1 = Unit_instance;
|
|
31281
31374
|
tmp.y8_1 = null;
|
|
31282
31375
|
return tmp.d9();
|
|
31283
31376
|
};
|
|
31284
|
-
protoOf(BundledWasmProverModule).
|
|
31377
|
+
protoOf(BundledWasmProverModule).qa8 = function (request, $completion) {
|
|
31285
31378
|
var tmp = new $proveCOROUTINE$_0(this, request, $completion);
|
|
31286
31379
|
tmp.x8_1 = Unit_instance;
|
|
31287
31380
|
tmp.y8_1 = null;
|
|
@@ -31293,21 +31386,21 @@ function asByteArray(bytes) {
|
|
|
31293
31386
|
}
|
|
31294
31387
|
function issuanceConfig(request) {
|
|
31295
31388
|
var issuance = {};
|
|
31296
|
-
issuance.serverName = request.
|
|
31297
|
-
issuance.maxSentData = request.
|
|
31298
|
-
issuance.maxRecvData = request.
|
|
31299
|
-
var tmp0 = request.
|
|
31389
|
+
issuance.serverName = request.va8_1.m35_1;
|
|
31390
|
+
issuance.maxSentData = request.xa8_1;
|
|
31391
|
+
issuance.maxRecvData = request.ya8_1;
|
|
31392
|
+
var tmp0 = request.za8_1;
|
|
31300
31393
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
31301
|
-
var b = request.
|
|
31394
|
+
var b = request.ya8_1;
|
|
31302
31395
|
issuance.maxRecvDataOnline = Math.min(tmp0, b);
|
|
31303
|
-
var tmp0_safe_receiver = request.
|
|
31396
|
+
var tmp0_safe_receiver = request.aa9_1;
|
|
31304
31397
|
if (tmp0_safe_receiver == null)
|
|
31305
31398
|
null;
|
|
31306
31399
|
else {
|
|
31307
31400
|
// Inline function 'kotlin.let' call
|
|
31308
31401
|
issuance.maxRecvRecordsOnline = tmp0_safe_receiver;
|
|
31309
31402
|
}
|
|
31310
|
-
var tmp1_safe_receiver = request.
|
|
31403
|
+
var tmp1_safe_receiver = request.ba9_1;
|
|
31311
31404
|
if (tmp1_safe_receiver == null)
|
|
31312
31405
|
null;
|
|
31313
31406
|
else {
|
|
@@ -31319,10 +31412,10 @@ function issuanceConfig(request) {
|
|
|
31319
31412
|
return issuance;
|
|
31320
31413
|
}
|
|
31321
31414
|
function httpRequest(request) {
|
|
31322
|
-
var spec = request.
|
|
31415
|
+
var spec = request.va8_1;
|
|
31323
31416
|
var httpRequest = {};
|
|
31324
31417
|
httpRequest.method = spec.n35_1;
|
|
31325
|
-
httpRequest.uri = replace(spec.o35_1, '{token}', request.
|
|
31418
|
+
httpRequest.uri = replace(spec.o35_1, '{token}', request.wa8_1);
|
|
31326
31419
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
31327
31420
|
if (!spec.t35_1.r()) {
|
|
31328
31421
|
var headers = [];
|
|
@@ -31358,14 +31451,14 @@ function httpRequest(request) {
|
|
|
31358
31451
|
}
|
|
31359
31452
|
function fillCredentials(_this__u8e3s4, request) {
|
|
31360
31453
|
var filled = _this__u8e3s4;
|
|
31361
|
-
var tmp0_safe_receiver = request.
|
|
31454
|
+
var tmp0_safe_receiver = request.ca9_1;
|
|
31362
31455
|
if (tmp0_safe_receiver == null)
|
|
31363
31456
|
null;
|
|
31364
31457
|
else {
|
|
31365
31458
|
// Inline function 'kotlin.let' call
|
|
31366
31459
|
filled = replace(filled, '{cookie}', tmp0_safe_receiver);
|
|
31367
31460
|
}
|
|
31368
|
-
var tmp1_safe_receiver = request.
|
|
31461
|
+
var tmp1_safe_receiver = request.da9_1;
|
|
31369
31462
|
if (tmp1_safe_receiver == null)
|
|
31370
31463
|
null;
|
|
31371
31464
|
else {
|
|
@@ -31456,10 +31549,10 @@ function issuanceLine(request) {
|
|
|
31456
31549
|
// Inline function 'kotlin.text.buildString' call
|
|
31457
31550
|
// Inline function 'kotlin.apply' call
|
|
31458
31551
|
var this_0 = StringBuilder_init_$Create$();
|
|
31459
|
-
this_0.q('issuance serverName=').q(request.
|
|
31460
|
-
this_0.q(' proxy=').q(request.
|
|
31552
|
+
this_0.q('issuance serverName=').q(request.va8_1.m35_1);
|
|
31553
|
+
this_0.q(' proxy=').q(request.ua8_1);
|
|
31461
31554
|
var tmp = this_0.q(' rootStore=');
|
|
31462
|
-
var tmp0_safe_receiver = request.
|
|
31555
|
+
var tmp0_safe_receiver = request.ba9_1;
|
|
31463
31556
|
var tmp_0;
|
|
31464
31557
|
if (tmp0_safe_receiver == null) {
|
|
31465
31558
|
tmp_0 = null;
|
|
@@ -31469,27 +31562,27 @@ function issuanceLine(request) {
|
|
|
31469
31562
|
}
|
|
31470
31563
|
var tmp1_elvis_lhs = tmp_0;
|
|
31471
31564
|
tmp.q(tmp1_elvis_lhs == null ? 'mozilla' : tmp1_elvis_lhs);
|
|
31472
|
-
this_0.q(' maxSent=').mc(request.
|
|
31473
|
-
this_0.q(' maxRecv=').mc(request.
|
|
31474
|
-
this_0.q(' maxRecvOnline=').mc(request.
|
|
31565
|
+
this_0.q(' maxSent=').mc(request.xa8_1);
|
|
31566
|
+
this_0.q(' maxRecv=').mc(request.ya8_1);
|
|
31567
|
+
this_0.q(' maxRecvOnline=').mc(request.za8_1);
|
|
31475
31568
|
var tmp_1 = this_0.q(' maxRecvRecordsOnline=');
|
|
31476
|
-
var tmp2_elvis_lhs = request.
|
|
31569
|
+
var tmp2_elvis_lhs = request.aa9_1;
|
|
31477
31570
|
tmp_1.w(tmp2_elvis_lhs == null ? 'default' : tmp2_elvis_lhs);
|
|
31478
|
-
this_0.q(' tokenSlot=').q(request.
|
|
31479
|
-
if (request.
|
|
31480
|
-
this_0.q(' cookieSlot=').q(!(request.
|
|
31571
|
+
this_0.q(' tokenSlot=').q(request.va8_1.c36() ? 'present' : 'MISSING');
|
|
31572
|
+
if (request.va8_1.y35()) {
|
|
31573
|
+
this_0.q(' cookieSlot=').q(!(request.ca9_1 == null) ? 'filled' : 'MISSING');
|
|
31481
31574
|
}
|
|
31482
|
-
if (request.
|
|
31483
|
-
this_0.q(' sessionIdSlot=').q(!(request.
|
|
31575
|
+
if (request.va8_1.b36()) {
|
|
31576
|
+
this_0.q(' sessionIdSlot=').q(!(request.da9_1 == null) ? 'filled' : 'MISSING');
|
|
31484
31577
|
}
|
|
31485
|
-
var tmp3_safe_receiver = request.
|
|
31578
|
+
var tmp3_safe_receiver = request.va8_1.u35_1;
|
|
31486
31579
|
if (tmp3_safe_receiver == null)
|
|
31487
31580
|
null;
|
|
31488
31581
|
else {
|
|
31489
31582
|
// Inline function 'kotlin.let' call
|
|
31490
31583
|
this_0.q(' bodyBytes=').mc(tmp3_safe_receiver.length);
|
|
31491
31584
|
}
|
|
31492
|
-
this_0.q(' ').q(request.
|
|
31585
|
+
this_0.q(' ').q(request.va8_1.n35_1).q(' ').q(request.va8_1.o35_1);
|
|
31493
31586
|
return this_0.toString();
|
|
31494
31587
|
}
|
|
31495
31588
|
function progressLine(event) {
|
|
@@ -31702,8 +31795,8 @@ function lazyTargetChannel$lambda_2($closed, $dialled, $ready, $resolveReady) {
|
|
|
31702
31795
|
};
|
|
31703
31796
|
}
|
|
31704
31797
|
function Companion_28() {
|
|
31705
|
-
this.
|
|
31706
|
-
this.
|
|
31798
|
+
this.yaa_1 = 'steamLoginSecure';
|
|
31799
|
+
this.zaa_1 = 'sessionid';
|
|
31707
31800
|
}
|
|
31708
31801
|
var Companion_instance_32;
|
|
31709
31802
|
function Companion_getInstance_38() {
|
|
@@ -31711,7 +31804,7 @@ function Companion_getInstance_38() {
|
|
|
31711
31804
|
}
|
|
31712
31805
|
function $currentSessionCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
31713
31806
|
CoroutineImpl.call(this, resultContinuation);
|
|
31714
|
-
this.
|
|
31807
|
+
this.iab_1 = _this__u8e3s4;
|
|
31715
31808
|
}
|
|
31716
31809
|
protoOf($currentSessionCOROUTINE$).d9 = function () {
|
|
31717
31810
|
var suspendResult = this.x8_1;
|
|
@@ -31722,7 +31815,7 @@ protoOf($currentSessionCOROUTINE$).d9 = function () {
|
|
|
31722
31815
|
case 0:
|
|
31723
31816
|
this.w8_1 = 3;
|
|
31724
31817
|
this.v8_1 = 1;
|
|
31725
|
-
suspendResult = webExtCookieValue(this.
|
|
31818
|
+
suspendResult = webExtCookieValue(this.iab_1.kab_1, 'steamLoginSecure', this);
|
|
31726
31819
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31727
31820
|
return suspendResult;
|
|
31728
31821
|
}
|
|
@@ -31738,9 +31831,9 @@ protoOf($currentSessionCOROUTINE$).d9 = function () {
|
|
|
31738
31831
|
tmp_1 = tmp0_elvis_lhs;
|
|
31739
31832
|
}
|
|
31740
31833
|
|
|
31741
|
-
tmp_0.
|
|
31834
|
+
tmp_0.jab_1 = tmp_1;
|
|
31742
31835
|
this.v8_1 = 2;
|
|
31743
|
-
suspendResult = webExtCookieValue(this.
|
|
31836
|
+
suspendResult = webExtCookieValue(this.iab_1.kab_1, 'sessionid', this);
|
|
31744
31837
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31745
31838
|
return suspendResult;
|
|
31746
31839
|
}
|
|
@@ -31749,7 +31842,7 @@ protoOf($currentSessionCOROUTINE$).d9 = function () {
|
|
|
31749
31842
|
case 2:
|
|
31750
31843
|
var sessionId = suspendResult;
|
|
31751
31844
|
var this_0 = StringBuilder_init_$Create$();
|
|
31752
|
-
this_0.q('steamLoginSecure').s(_Char___init__impl__6a9atx(61)).q(this.
|
|
31845
|
+
this_0.q('steamLoginSecure').s(_Char___init__impl__6a9atx(61)).q(this.jab_1);
|
|
31753
31846
|
if (sessionId == null)
|
|
31754
31847
|
null;
|
|
31755
31848
|
else {
|
|
@@ -31774,7 +31867,7 @@ protoOf($currentSessionCOROUTINE$).d9 = function () {
|
|
|
31774
31867
|
};
|
|
31775
31868
|
function WebExtSteamProofCookieSource(communityBaseUrl) {
|
|
31776
31869
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
31777
|
-
this.
|
|
31870
|
+
this.kab_1 = communityBaseUrl;
|
|
31778
31871
|
}
|
|
31779
31872
|
protoOf(WebExtSteamProofCookieSource).j39 = function ($completion) {
|
|
31780
31873
|
var tmp = new $currentSessionCOROUTINE$(this, $completion);
|
|
@@ -31848,13 +31941,13 @@ function proveNotaryTransition(requestJson, notaryToken, steamAccessToken, confi
|
|
|
31848
31941
|
return promise(tmp, VOID, VOID, proveNotaryTransition$slambda_0(requestJson, config, onProgress, steamAccessToken, notaryToken, null));
|
|
31849
31942
|
}
|
|
31850
31943
|
function sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0(function_0) {
|
|
31851
|
-
this.
|
|
31944
|
+
this.lab_1 = function_0;
|
|
31852
31945
|
}
|
|
31853
31946
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).i39 = function ($completion) {
|
|
31854
|
-
return this.
|
|
31947
|
+
return this.lab_1($completion);
|
|
31855
31948
|
};
|
|
31856
31949
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).m3 = function () {
|
|
31857
|
-
return this.
|
|
31950
|
+
return this.lab_1;
|
|
31858
31951
|
};
|
|
31859
31952
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).equals = function (other) {
|
|
31860
31953
|
var tmp;
|
|
@@ -31875,7 +31968,7 @@ protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).hashCode
|
|
|
31875
31968
|
return hashCode(this.m3());
|
|
31876
31969
|
};
|
|
31877
31970
|
function proveNotaryTransition$slambda$slambda($notaryToken, resultContinuation) {
|
|
31878
|
-
this.
|
|
31971
|
+
this.uab_1 = $notaryToken;
|
|
31879
31972
|
CoroutineImpl.call(this, resultContinuation);
|
|
31880
31973
|
}
|
|
31881
31974
|
protoOf(proveNotaryTransition$slambda$slambda).t6c = function ($completion) {
|
|
@@ -31894,7 +31987,7 @@ protoOf(proveNotaryTransition$slambda$slambda).d9 = function () {
|
|
|
31894
31987
|
var tmp = this.v8_1;
|
|
31895
31988
|
if (tmp === 0) {
|
|
31896
31989
|
this.w8_1 = 1;
|
|
31897
|
-
return this.
|
|
31990
|
+
return this.uab_1;
|
|
31898
31991
|
} else if (tmp === 1) {
|
|
31899
31992
|
throw this.y8_1;
|
|
31900
31993
|
}
|
|
@@ -31905,7 +31998,7 @@ protoOf(proveNotaryTransition$slambda$slambda).d9 = function () {
|
|
|
31905
31998
|
while (true);
|
|
31906
31999
|
};
|
|
31907
32000
|
protoOf(proveNotaryTransition$slambda$slambda).s42 = function (completion) {
|
|
31908
|
-
return new proveNotaryTransition$slambda$slambda(this.
|
|
32001
|
+
return new proveNotaryTransition$slambda$slambda(this.uab_1, completion);
|
|
31909
32002
|
};
|
|
31910
32003
|
function proveNotaryTransition$slambda$slambda_0($notaryToken, resultContinuation) {
|
|
31911
32004
|
var i = new proveNotaryTransition$slambda$slambda($notaryToken, resultContinuation);
|
|
@@ -31914,21 +32007,21 @@ function proveNotaryTransition$slambda$slambda_0($notaryToken, resultContinuatio
|
|
|
31914
32007
|
}, 0);
|
|
31915
32008
|
}
|
|
31916
32009
|
function proveNotaryTransition$slambda($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation) {
|
|
31917
|
-
this.
|
|
31918
|
-
this.
|
|
31919
|
-
this.
|
|
31920
|
-
this.
|
|
31921
|
-
this.
|
|
32010
|
+
this.dac_1 = $requestJson;
|
|
32011
|
+
this.eac_1 = $config;
|
|
32012
|
+
this.fac_1 = $onProgress;
|
|
32013
|
+
this.gac_1 = $steamAccessToken;
|
|
32014
|
+
this.hac_1 = $notaryToken;
|
|
31922
32015
|
CoroutineImpl.call(this, resultContinuation);
|
|
31923
32016
|
}
|
|
31924
|
-
protoOf(proveNotaryTransition$slambda).
|
|
32017
|
+
protoOf(proveNotaryTransition$slambda).jac = function ($this$promise, $completion) {
|
|
31925
32018
|
var tmp = this.o3t($this$promise, $completion);
|
|
31926
32019
|
tmp.x8_1 = Unit_instance;
|
|
31927
32020
|
tmp.y8_1 = null;
|
|
31928
32021
|
return tmp.d9();
|
|
31929
32022
|
};
|
|
31930
32023
|
protoOf(proveNotaryTransition$slambda).q9 = function (p1, $completion) {
|
|
31931
|
-
return this.
|
|
32024
|
+
return this.jac((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
31932
32025
|
};
|
|
31933
32026
|
protoOf(proveNotaryTransition$slambda).d9 = function () {
|
|
31934
32027
|
var suspendResult = this.x8_1;
|
|
@@ -31939,14 +32032,14 @@ protoOf(proveNotaryTransition$slambda).d9 = function () {
|
|
|
31939
32032
|
case 0:
|
|
31940
32033
|
this.w8_1 = 2;
|
|
31941
32034
|
var tmp0 = Default_getInstance_1();
|
|
31942
|
-
var string = this.
|
|
32035
|
+
var string = this.dac_1;
|
|
31943
32036
|
var this_0 = tmp0.vt();
|
|
31944
32037
|
var this_1 = serializer(this_0, createKType(getKClass(NotaryProofRequest), arrayOf([]), false));
|
|
31945
32038
|
var request = tmp0.l1a(isInterface(this_1, KSerializer) ? this_1 : THROW_CCE(), string);
|
|
31946
|
-
var tmp_0 = proveNotaryTransition$slambda$slambda_0(this.
|
|
31947
|
-
var prover = new WasmNotaryProver(this.
|
|
32039
|
+
var tmp_0 = proveNotaryTransition$slambda$slambda_0(this.hac_1, null);
|
|
32040
|
+
var prover = new WasmNotaryProver(this.eac_1.notary, new sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0(tmp_0), new BundledWasmProverModule(this.fac_1), new Cs2GameAdapter(this.eac_1.game), VOID, new WebExtSteamProofCookieSource());
|
|
31948
32041
|
this.v8_1 = 1;
|
|
31949
|
-
suspendResult = prover.
|
|
32042
|
+
suspendResult = prover.ra8(toBinding(request), toKind(request), toSubjectSteamId(request), this.gac_1, this);
|
|
31950
32043
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
31951
32044
|
return suspendResult;
|
|
31952
32045
|
}
|
|
@@ -31969,14 +32062,14 @@ protoOf(proveNotaryTransition$slambda).d9 = function () {
|
|
|
31969
32062
|
while (true);
|
|
31970
32063
|
};
|
|
31971
32064
|
protoOf(proveNotaryTransition$slambda).o3t = function ($this$promise, completion) {
|
|
31972
|
-
var i = new proveNotaryTransition$slambda(this.
|
|
31973
|
-
i.
|
|
32065
|
+
var i = new proveNotaryTransition$slambda(this.dac_1, this.eac_1, this.fac_1, this.gac_1, this.hac_1, completion);
|
|
32066
|
+
i.iac_1 = $this$promise;
|
|
31974
32067
|
return i;
|
|
31975
32068
|
};
|
|
31976
32069
|
function proveNotaryTransition$slambda_0($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation) {
|
|
31977
32070
|
var i = new proveNotaryTransition$slambda($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation);
|
|
31978
32071
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
31979
|
-
return i.
|
|
32072
|
+
return i.jac($this$promise, $completion);
|
|
31980
32073
|
}, 1);
|
|
31981
32074
|
}
|
|
31982
32075
|
var properties_initialized_NotaryOffscreenApi_js_kt_67h2dp;
|
|
@@ -31987,30 +32080,30 @@ function _init_properties_NotaryOffscreenApi_js_kt__f5xgx() {
|
|
|
31987
32080
|
}
|
|
31988
32081
|
}
|
|
31989
32082
|
function stopTracker(handle) {
|
|
31990
|
-
return handle.
|
|
32083
|
+
return handle.kac();
|
|
31991
32084
|
}
|
|
31992
32085
|
function deliverPush(handle, payloadJson) {
|
|
31993
32086
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
31994
|
-
return promise(h.
|
|
32087
|
+
return promise(h.mac_1, VOID, VOID, deliverPush$slambda_0(payloadJson, h, null));
|
|
31995
32088
|
}
|
|
31996
32089
|
function forceHeartbeat(handle) {
|
|
31997
32090
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
31998
|
-
return promise(h.
|
|
32091
|
+
return promise(h.mac_1, VOID, VOID, forceHeartbeat$slambda_0(h, null));
|
|
31999
32092
|
}
|
|
32000
32093
|
function createTrade(handle, directiveId, dealId, partnerSteamId, assetIds, tradeToken, linkedSteamId) {
|
|
32001
32094
|
tradeToken = tradeToken === VOID ? null : tradeToken;
|
|
32002
32095
|
linkedSteamId = linkedSteamId === VOID ? null : linkedSteamId;
|
|
32003
32096
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
32004
|
-
return promise(h.
|
|
32097
|
+
return promise(h.mac_1, VOID, VOID, createTrade$slambda_0(directiveId, dealId, partnerSteamId, assetIds, tradeToken, h, linkedSteamId, null));
|
|
32005
32098
|
}
|
|
32006
32099
|
function linkedSteamIdMismatch(handle) {
|
|
32007
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
32100
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).lac_1.e9b();
|
|
32008
32101
|
}
|
|
32009
32102
|
function blockingReason(handle) {
|
|
32010
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
32103
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).lac_1.r9c().z_1;
|
|
32011
32104
|
}
|
|
32012
32105
|
function isTrackingActive(handle) {
|
|
32013
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
32106
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).lac_1.r9c().equals(TrackerBlock_NONE_getInstance());
|
|
32014
32107
|
}
|
|
32015
32108
|
function startTracker(baseUrl, config, networkObserver, eventObserver) {
|
|
32016
32109
|
baseUrl = baseUrl === VOID ? 'https://api.dmarket.com' : baseUrl;
|
|
@@ -32027,27 +32120,27 @@ function startTrackerWithEvents(baseUrl, config, onEvent, notaryProofDelegate) {
|
|
|
32027
32120
|
}
|
|
32028
32121
|
function subscribeActiveTrackingCount(handle, onCount) {
|
|
32029
32122
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
32030
|
-
var job = launch(h.
|
|
32123
|
+
var job = launch(h.mac_1, VOID, VOID, subscribeActiveTrackingCount$slambda_0(h, onCount, null));
|
|
32031
32124
|
return subscribeActiveTrackingCount$lambda(job);
|
|
32032
32125
|
}
|
|
32033
32126
|
function activeTrackingCount(handle) {
|
|
32034
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
32127
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).oac_1.d9h_1.p1();
|
|
32035
32128
|
}
|
|
32036
32129
|
function JsTrackerHandle(loop, scope, scheduler, activeCount, onStop) {
|
|
32037
|
-
this.
|
|
32038
|
-
this.
|
|
32039
|
-
this.
|
|
32040
|
-
this.
|
|
32041
|
-
this.
|
|
32130
|
+
this.lac_1 = loop;
|
|
32131
|
+
this.mac_1 = scope;
|
|
32132
|
+
this.nac_1 = scheduler;
|
|
32133
|
+
this.oac_1 = activeCount;
|
|
32134
|
+
this.pac_1 = onStop;
|
|
32042
32135
|
}
|
|
32043
|
-
protoOf(JsTrackerHandle).
|
|
32044
|
-
return this.
|
|
32136
|
+
protoOf(JsTrackerHandle).kac = function () {
|
|
32137
|
+
return this.pac_1();
|
|
32045
32138
|
};
|
|
32046
32139
|
function CallbackEventObserver(callback) {
|
|
32047
|
-
this.
|
|
32140
|
+
this.qac_1 = callback;
|
|
32048
32141
|
}
|
|
32049
32142
|
protoOf(CallbackEventObserver).d68 = function (event, $completion) {
|
|
32050
|
-
return this.
|
|
32143
|
+
return this.qac_1(toWireJson(event));
|
|
32051
32144
|
};
|
|
32052
32145
|
function startInternal(baseUrl, config, networkObserver, eventObserver, notaryProofDelegate) {
|
|
32053
32146
|
var activeCount = new ActiveTrackingCountChannel(eventObserver);
|
|
@@ -32067,8 +32160,8 @@ function startInternal(baseUrl, config, networkObserver, eventObserver, notaryPr
|
|
|
32067
32160
|
return new JsTrackerHandle(loop, scope, scheduler, activeCount, startInternal$lambda_2(chrome_0, onAlarm, onRearm, scheduler, scope));
|
|
32068
32161
|
}
|
|
32069
32162
|
function deliverPush$slambda($payloadJson, $h, resultContinuation) {
|
|
32070
|
-
this.
|
|
32071
|
-
this.
|
|
32163
|
+
this.zac_1 = $payloadJson;
|
|
32164
|
+
this.aad_1 = $h;
|
|
32072
32165
|
CoroutineImpl.call(this, resultContinuation);
|
|
32073
32166
|
}
|
|
32074
32167
|
protoOf(deliverPush$slambda).n3t = function ($this$promise, $completion) {
|
|
@@ -32088,18 +32181,18 @@ protoOf(deliverPush$slambda).d9 = function () {
|
|
|
32088
32181
|
switch (tmp) {
|
|
32089
32182
|
case 0:
|
|
32090
32183
|
this.w8_1 = 4;
|
|
32091
|
-
var tmp0_safe_receiver = parsePushEnvelope(this.
|
|
32184
|
+
var tmp0_safe_receiver = parsePushEnvelope(this.zac_1);
|
|
32092
32185
|
var signal = tmp0_safe_receiver == null ? null : toSignalOrNull(tmp0_safe_receiver);
|
|
32093
32186
|
if (!(signal == null)) {
|
|
32094
32187
|
this.v8_1 = 2;
|
|
32095
|
-
suspendResult = this.
|
|
32188
|
+
suspendResult = this.aad_1.lac_1.h9e(signal, this);
|
|
32096
32189
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32097
32190
|
return suspendResult;
|
|
32098
32191
|
}
|
|
32099
32192
|
continue $sm;
|
|
32100
32193
|
} else {
|
|
32101
32194
|
this.v8_1 = 1;
|
|
32102
|
-
suspendResult = this.
|
|
32195
|
+
suspendResult = this.aad_1.lac_1.o9d(this);
|
|
32103
32196
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32104
32197
|
return suspendResult;
|
|
32105
32198
|
}
|
|
@@ -32107,15 +32200,15 @@ protoOf(deliverPush$slambda).d9 = function () {
|
|
|
32107
32200
|
}
|
|
32108
32201
|
|
|
32109
32202
|
case 1:
|
|
32110
|
-
this.
|
|
32203
|
+
this.cad_1 = suspendResult;
|
|
32111
32204
|
this.v8_1 = 3;
|
|
32112
32205
|
continue $sm;
|
|
32113
32206
|
case 2:
|
|
32114
|
-
this.
|
|
32207
|
+
this.cad_1 = suspendResult;
|
|
32115
32208
|
this.v8_1 = 3;
|
|
32116
32209
|
continue $sm;
|
|
32117
32210
|
case 3:
|
|
32118
|
-
this.
|
|
32211
|
+
this.aad_1.nac_1.q63(this.aad_1.lac_1.z96());
|
|
32119
32212
|
return Unit_instance;
|
|
32120
32213
|
case 4:
|
|
32121
32214
|
throw this.y8_1;
|
|
@@ -32132,8 +32225,8 @@ protoOf(deliverPush$slambda).d9 = function () {
|
|
|
32132
32225
|
while (true);
|
|
32133
32226
|
};
|
|
32134
32227
|
protoOf(deliverPush$slambda).o3t = function ($this$promise, completion) {
|
|
32135
|
-
var i = new deliverPush$slambda(this.
|
|
32136
|
-
i.
|
|
32228
|
+
var i = new deliverPush$slambda(this.zac_1, this.aad_1, completion);
|
|
32229
|
+
i.bad_1 = $this$promise;
|
|
32137
32230
|
return i;
|
|
32138
32231
|
};
|
|
32139
32232
|
function deliverPush$slambda_0($payloadJson, $h, resultContinuation) {
|
|
@@ -32143,7 +32236,7 @@ function deliverPush$slambda_0($payloadJson, $h, resultContinuation) {
|
|
|
32143
32236
|
}, 1);
|
|
32144
32237
|
}
|
|
32145
32238
|
function forceHeartbeat$slambda($h, resultContinuation) {
|
|
32146
|
-
this.
|
|
32239
|
+
this.lad_1 = $h;
|
|
32147
32240
|
CoroutineImpl.call(this, resultContinuation);
|
|
32148
32241
|
}
|
|
32149
32242
|
protoOf(forceHeartbeat$slambda).n3t = function ($this$promise, $completion) {
|
|
@@ -32164,7 +32257,7 @@ protoOf(forceHeartbeat$slambda).d9 = function () {
|
|
|
32164
32257
|
case 0:
|
|
32165
32258
|
this.w8_1 = 3;
|
|
32166
32259
|
this.v8_1 = 1;
|
|
32167
|
-
suspendResult = this.
|
|
32260
|
+
suspendResult = this.lad_1.lac_1.n9d(this);
|
|
32168
32261
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32169
32262
|
return suspendResult;
|
|
32170
32263
|
}
|
|
@@ -32172,14 +32265,14 @@ protoOf(forceHeartbeat$slambda).d9 = function () {
|
|
|
32172
32265
|
continue $sm;
|
|
32173
32266
|
case 1:
|
|
32174
32267
|
this.v8_1 = 2;
|
|
32175
|
-
suspendResult = this.
|
|
32268
|
+
suspendResult = this.lad_1.lac_1.o9d(this);
|
|
32176
32269
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32177
32270
|
return suspendResult;
|
|
32178
32271
|
}
|
|
32179
32272
|
|
|
32180
32273
|
continue $sm;
|
|
32181
32274
|
case 2:
|
|
32182
|
-
this.
|
|
32275
|
+
this.lad_1.nac_1.q63(this.lad_1.lac_1.z96());
|
|
32183
32276
|
return Unit_instance;
|
|
32184
32277
|
case 3:
|
|
32185
32278
|
throw this.y8_1;
|
|
@@ -32196,8 +32289,8 @@ protoOf(forceHeartbeat$slambda).d9 = function () {
|
|
|
32196
32289
|
while (true);
|
|
32197
32290
|
};
|
|
32198
32291
|
protoOf(forceHeartbeat$slambda).o3t = function ($this$promise, completion) {
|
|
32199
|
-
var i = new forceHeartbeat$slambda(this.
|
|
32200
|
-
i.
|
|
32292
|
+
var i = new forceHeartbeat$slambda(this.lad_1, completion);
|
|
32293
|
+
i.mad_1 = $this$promise;
|
|
32201
32294
|
return i;
|
|
32202
32295
|
};
|
|
32203
32296
|
function forceHeartbeat$slambda_0($h, resultContinuation) {
|
|
@@ -32207,23 +32300,23 @@ function forceHeartbeat$slambda_0($h, resultContinuation) {
|
|
|
32207
32300
|
}, 1);
|
|
32208
32301
|
}
|
|
32209
32302
|
function createTrade$slambda($directiveId, $dealId, $partnerSteamId, $assetIds, $tradeToken, $h, $linkedSteamId, resultContinuation) {
|
|
32210
|
-
this.
|
|
32211
|
-
this.
|
|
32212
|
-
this.
|
|
32213
|
-
this.
|
|
32214
|
-
this.
|
|
32215
|
-
this.
|
|
32216
|
-
this.
|
|
32303
|
+
this.vad_1 = $directiveId;
|
|
32304
|
+
this.wad_1 = $dealId;
|
|
32305
|
+
this.xad_1 = $partnerSteamId;
|
|
32306
|
+
this.yad_1 = $assetIds;
|
|
32307
|
+
this.zad_1 = $tradeToken;
|
|
32308
|
+
this.aae_1 = $h;
|
|
32309
|
+
this.bae_1 = $linkedSteamId;
|
|
32217
32310
|
CoroutineImpl.call(this, resultContinuation);
|
|
32218
32311
|
}
|
|
32219
|
-
protoOf(createTrade$slambda).
|
|
32312
|
+
protoOf(createTrade$slambda).jac = function ($this$promise, $completion) {
|
|
32220
32313
|
var tmp = this.o3t($this$promise, $completion);
|
|
32221
32314
|
tmp.x8_1 = Unit_instance;
|
|
32222
32315
|
tmp.y8_1 = null;
|
|
32223
32316
|
return tmp.d9();
|
|
32224
32317
|
};
|
|
32225
32318
|
protoOf(createTrade$slambda).q9 = function (p1, $completion) {
|
|
32226
|
-
return this.
|
|
32319
|
+
return this.jac((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
32227
32320
|
};
|
|
32228
32321
|
protoOf(createTrade$slambda).d9 = function () {
|
|
32229
32322
|
var suspendResult = this.x8_1;
|
|
@@ -32233,22 +32326,22 @@ protoOf(createTrade$slambda).d9 = function () {
|
|
|
32233
32326
|
switch (tmp) {
|
|
32234
32327
|
case 0:
|
|
32235
32328
|
this.w8_1 = 2;
|
|
32236
|
-
if (isBlank(this.
|
|
32329
|
+
if (isBlank(this.vad_1)) {
|
|
32237
32330
|
var builder = new JsonObjectBuilder();
|
|
32238
32331
|
put(builder, 'ok', false);
|
|
32239
32332
|
put_0(builder, 'error', "missing directive_id (FE must supply the backend's create_offer directive id)");
|
|
32240
32333
|
return builder.o1c().toString();
|
|
32241
32334
|
}
|
|
32242
32335
|
|
|
32243
|
-
if (isBlank(this.
|
|
32336
|
+
if (isBlank(this.wad_1)) {
|
|
32244
32337
|
var builder_0 = new JsonObjectBuilder();
|
|
32245
32338
|
put(builder_0, 'ok', false);
|
|
32246
32339
|
put_0(builder_0, 'error', 'missing deal_id (the /trade-actions outcome report requires it \u2014 the backend rejects without it)');
|
|
32247
32340
|
return builder_0.o1c().toString();
|
|
32248
32341
|
}
|
|
32249
32342
|
|
|
32250
|
-
var tmp_0 = _SteamId___init__impl__aj11zm(this.
|
|
32251
|
-
var tmp0 = this.
|
|
32343
|
+
var tmp_0 = _SteamId___init__impl__aj11zm(this.xad_1);
|
|
32344
|
+
var tmp0 = this.yad_1;
|
|
32252
32345
|
var destination = ArrayList_init_$Create$();
|
|
32253
32346
|
var inductionVariable = 0;
|
|
32254
32347
|
var last = tmp0.length;
|
|
@@ -32267,7 +32360,7 @@ protoOf(createTrade$slambda).d9 = function () {
|
|
|
32267
32360
|
destination_0.b1(new AssetId(_AssetId___init__impl__8dnimm(item)));
|
|
32268
32361
|
}
|
|
32269
32362
|
|
|
32270
|
-
var tmp0_safe_receiver = this.
|
|
32363
|
+
var tmp0_safe_receiver = this.zad_1;
|
|
32271
32364
|
var tmp_1;
|
|
32272
32365
|
if (tmp0_safe_receiver == null) {
|
|
32273
32366
|
tmp_1 = null;
|
|
@@ -32283,9 +32376,9 @@ protoOf(createTrade$slambda).d9 = function () {
|
|
|
32283
32376
|
|
|
32284
32377
|
var draft = new TradeDraft(tmp_0, destination_0, tmp_1);
|
|
32285
32378
|
this.v8_1 = 1;
|
|
32286
|
-
var tmp_3 = _DirectiveId___init__impl__hen9ld(this.
|
|
32287
|
-
var tmp_4 = _DealId___init__impl__icq89m(this.
|
|
32288
|
-
var tmp1_safe_receiver = this.
|
|
32379
|
+
var tmp_3 = _DirectiveId___init__impl__hen9ld(this.vad_1);
|
|
32380
|
+
var tmp_4 = _DealId___init__impl__icq89m(this.wad_1);
|
|
32381
|
+
var tmp1_safe_receiver = this.bae_1;
|
|
32289
32382
|
var tmp_5;
|
|
32290
32383
|
if (tmp1_safe_receiver == null) {
|
|
32291
32384
|
tmp_5 = null;
|
|
@@ -32307,7 +32400,7 @@ protoOf(createTrade$slambda).d9 = function () {
|
|
|
32307
32400
|
tmp_7 = _SteamId___init__impl__aj11zm(tmp2_safe_receiver);
|
|
32308
32401
|
}
|
|
32309
32402
|
|
|
32310
|
-
suspendResult = this.
|
|
32403
|
+
suspendResult = this.aae_1.lac_1.e9e(tmp_3, tmp_4, draft, tmp_7, this);
|
|
32311
32404
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32312
32405
|
return suspendResult;
|
|
32313
32406
|
}
|
|
@@ -32315,7 +32408,7 @@ protoOf(createTrade$slambda).d9 = function () {
|
|
|
32315
32408
|
continue $sm;
|
|
32316
32409
|
case 1:
|
|
32317
32410
|
var result = suspendResult;
|
|
32318
|
-
this.
|
|
32411
|
+
this.aae_1.nac_1.q63(this.aae_1.lac_1.z96());
|
|
32319
32412
|
var builder_1 = new JsonObjectBuilder();
|
|
32320
32413
|
var tmp_8;
|
|
32321
32414
|
var tmp_9;
|
|
@@ -32390,24 +32483,24 @@ protoOf(createTrade$slambda).d9 = function () {
|
|
|
32390
32483
|
while (true);
|
|
32391
32484
|
};
|
|
32392
32485
|
protoOf(createTrade$slambda).o3t = function ($this$promise, completion) {
|
|
32393
|
-
var i = new createTrade$slambda(this.
|
|
32394
|
-
i.
|
|
32486
|
+
var i = new createTrade$slambda(this.vad_1, this.wad_1, this.xad_1, this.yad_1, this.zad_1, this.aae_1, this.bae_1, completion);
|
|
32487
|
+
i.cae_1 = $this$promise;
|
|
32395
32488
|
return i;
|
|
32396
32489
|
};
|
|
32397
32490
|
function createTrade$slambda_0($directiveId, $dealId, $partnerSteamId, $assetIds, $tradeToken, $h, $linkedSteamId, resultContinuation) {
|
|
32398
32491
|
var i = new createTrade$slambda($directiveId, $dealId, $partnerSteamId, $assetIds, $tradeToken, $h, $linkedSteamId, resultContinuation);
|
|
32399
32492
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
32400
|
-
return i.
|
|
32493
|
+
return i.jac($this$promise, $completion);
|
|
32401
32494
|
}, 1);
|
|
32402
32495
|
}
|
|
32403
32496
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
32404
|
-
this.
|
|
32497
|
+
this.dae_1 = function_0;
|
|
32405
32498
|
}
|
|
32406
32499
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).v27 = function (value, $completion) {
|
|
32407
|
-
return this.
|
|
32500
|
+
return this.dae_1(value, $completion);
|
|
32408
32501
|
};
|
|
32409
32502
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).m3 = function () {
|
|
32410
|
-
return this.
|
|
32503
|
+
return this.dae_1;
|
|
32411
32504
|
};
|
|
32412
32505
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
32413
32506
|
var tmp;
|
|
@@ -32428,17 +32521,17 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
|
32428
32521
|
return hashCode(this.m3());
|
|
32429
32522
|
};
|
|
32430
32523
|
function subscribeActiveTrackingCount$slambda$slambda($onCount, resultContinuation) {
|
|
32431
|
-
this.
|
|
32524
|
+
this.mae_1 = $onCount;
|
|
32432
32525
|
CoroutineImpl.call(this, resultContinuation);
|
|
32433
32526
|
}
|
|
32434
|
-
protoOf(subscribeActiveTrackingCount$slambda$slambda).
|
|
32435
|
-
var tmp = this.
|
|
32527
|
+
protoOf(subscribeActiveTrackingCount$slambda$slambda).oae = function (it, $completion) {
|
|
32528
|
+
var tmp = this.pae(it, $completion);
|
|
32436
32529
|
tmp.x8_1 = Unit_instance;
|
|
32437
32530
|
tmp.y8_1 = null;
|
|
32438
32531
|
return tmp.d9();
|
|
32439
32532
|
};
|
|
32440
32533
|
protoOf(subscribeActiveTrackingCount$slambda$slambda).q9 = function (p1, $completion) {
|
|
32441
|
-
return this.
|
|
32534
|
+
return this.oae((!(p1 == null) ? typeof p1 === 'number' : false) ? p1 : THROW_CCE(), $completion);
|
|
32442
32535
|
};
|
|
32443
32536
|
protoOf(subscribeActiveTrackingCount$slambda$slambda).d9 = function () {
|
|
32444
32537
|
var suspendResult = this.x8_1;
|
|
@@ -32447,7 +32540,7 @@ protoOf(subscribeActiveTrackingCount$slambda$slambda).d9 = function () {
|
|
|
32447
32540
|
var tmp = this.v8_1;
|
|
32448
32541
|
if (tmp === 0) {
|
|
32449
32542
|
this.w8_1 = 1;
|
|
32450
|
-
this.
|
|
32543
|
+
this.mae_1(this.nae_1);
|
|
32451
32544
|
return Unit_instance;
|
|
32452
32545
|
} else if (tmp === 1) {
|
|
32453
32546
|
throw this.y8_1;
|
|
@@ -32458,20 +32551,20 @@ protoOf(subscribeActiveTrackingCount$slambda$slambda).d9 = function () {
|
|
|
32458
32551
|
}
|
|
32459
32552
|
while (true);
|
|
32460
32553
|
};
|
|
32461
|
-
protoOf(subscribeActiveTrackingCount$slambda$slambda).
|
|
32462
|
-
var i = new subscribeActiveTrackingCount$slambda$slambda(this.
|
|
32463
|
-
i.
|
|
32554
|
+
protoOf(subscribeActiveTrackingCount$slambda$slambda).pae = function (it, completion) {
|
|
32555
|
+
var i = new subscribeActiveTrackingCount$slambda$slambda(this.mae_1, completion);
|
|
32556
|
+
i.nae_1 = it;
|
|
32464
32557
|
return i;
|
|
32465
32558
|
};
|
|
32466
32559
|
function subscribeActiveTrackingCount$slambda$slambda_0($onCount, resultContinuation) {
|
|
32467
32560
|
var i = new subscribeActiveTrackingCount$slambda$slambda($onCount, resultContinuation);
|
|
32468
32561
|
return constructCallableReference(function (it, $completion) {
|
|
32469
|
-
return i.
|
|
32562
|
+
return i.oae(it, $completion);
|
|
32470
32563
|
}, 1);
|
|
32471
32564
|
}
|
|
32472
32565
|
function subscribeActiveTrackingCount$slambda($h, $onCount, resultContinuation) {
|
|
32473
|
-
this.
|
|
32474
|
-
this.
|
|
32566
|
+
this.yae_1 = $h;
|
|
32567
|
+
this.zae_1 = $onCount;
|
|
32475
32568
|
CoroutineImpl.call(this, resultContinuation);
|
|
32476
32569
|
}
|
|
32477
32570
|
protoOf(subscribeActiveTrackingCount$slambda).n3t = function ($this$launch, $completion) {
|
|
@@ -32492,8 +32585,8 @@ protoOf(subscribeActiveTrackingCount$slambda).d9 = function () {
|
|
|
32492
32585
|
case 0:
|
|
32493
32586
|
this.w8_1 = 2;
|
|
32494
32587
|
this.v8_1 = 1;
|
|
32495
|
-
var tmp_0 = subscribeActiveTrackingCount$slambda$slambda_0(this.
|
|
32496
|
-
suspendResult = this.
|
|
32588
|
+
var tmp_0 = subscribeActiveTrackingCount$slambda$slambda_0(this.zae_1, null);
|
|
32589
|
+
suspendResult = this.yae_1.oac_1.d9h_1.m29(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
32497
32590
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32498
32591
|
return suspendResult;
|
|
32499
32592
|
}
|
|
@@ -32517,8 +32610,8 @@ protoOf(subscribeActiveTrackingCount$slambda).d9 = function () {
|
|
|
32517
32610
|
while (true);
|
|
32518
32611
|
};
|
|
32519
32612
|
protoOf(subscribeActiveTrackingCount$slambda).o3t = function ($this$launch, completion) {
|
|
32520
|
-
var i = new subscribeActiveTrackingCount$slambda(this.
|
|
32521
|
-
i.
|
|
32613
|
+
var i = new subscribeActiveTrackingCount$slambda(this.yae_1, this.zae_1, completion);
|
|
32614
|
+
i.aaf_1 = $this$launch;
|
|
32522
32615
|
return i;
|
|
32523
32616
|
};
|
|
32524
32617
|
function subscribeActiveTrackingCount$slambda_0($h, $onCount, resultContinuation) {
|
|
@@ -32534,8 +32627,8 @@ function subscribeActiveTrackingCount$lambda($job) {
|
|
|
32534
32627
|
};
|
|
32535
32628
|
}
|
|
32536
32629
|
function startInternal$cycle$slambda($loop, $scheduler, resultContinuation) {
|
|
32537
|
-
this.
|
|
32538
|
-
this.
|
|
32630
|
+
this.jaf_1 = $loop;
|
|
32631
|
+
this.kaf_1 = $scheduler;
|
|
32539
32632
|
CoroutineImpl.call(this, resultContinuation);
|
|
32540
32633
|
}
|
|
32541
32634
|
protoOf(startInternal$cycle$slambda).n3t = function ($this$launch, $completion) {
|
|
@@ -32556,14 +32649,14 @@ protoOf(startInternal$cycle$slambda).d9 = function () {
|
|
|
32556
32649
|
case 0:
|
|
32557
32650
|
this.w8_1 = 2;
|
|
32558
32651
|
this.v8_1 = 1;
|
|
32559
|
-
suspendResult = this.
|
|
32652
|
+
suspendResult = this.jaf_1.o9d(this);
|
|
32560
32653
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
32561
32654
|
return suspendResult;
|
|
32562
32655
|
}
|
|
32563
32656
|
|
|
32564
32657
|
continue $sm;
|
|
32565
32658
|
case 1:
|
|
32566
|
-
this.
|
|
32659
|
+
this.kaf_1.q63(this.jaf_1.z96());
|
|
32567
32660
|
return Unit_instance;
|
|
32568
32661
|
case 2:
|
|
32569
32662
|
throw this.y8_1;
|
|
@@ -32580,8 +32673,8 @@ protoOf(startInternal$cycle$slambda).d9 = function () {
|
|
|
32580
32673
|
while (true);
|
|
32581
32674
|
};
|
|
32582
32675
|
protoOf(startInternal$cycle$slambda).o3t = function ($this$launch, completion) {
|
|
32583
|
-
var i = new startInternal$cycle$slambda(this.
|
|
32584
|
-
i.
|
|
32676
|
+
var i = new startInternal$cycle$slambda(this.jaf_1, this.kaf_1, completion);
|
|
32677
|
+
i.laf_1 = $this$launch;
|
|
32585
32678
|
return i;
|
|
32586
32679
|
};
|
|
32587
32680
|
function startInternal$cycle$slambda_0($loop, $scheduler, resultContinuation) {
|