@dmarket/p2p-tracker-headless 1.0.4-SNAPSHOT-development.133 → 1.1.0-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/p2p-tracker-core.mjs +800 -794
- package/p2p-tracker-core.mjs.map +1 -1
- package/p2p-tracker-headless.mjs +690 -690
- package/p2p-tracker-headless.mjs.map +1 -1
- package/package.json +1 -1
package/p2p-tracker-core.mjs
CHANGED
|
@@ -160,6 +160,7 @@ import {
|
|
|
160
160
|
maxOfnpw4mt1rg0hl as maxOf,
|
|
161
161
|
Duration__times_impl_sfuzvpvbfurc6ehsa8 as Duration__times_impl_sfuzvp_0,
|
|
162
162
|
DurationUnit_MINUTES_getInstance3l9dh3bdonhtl as DurationUnit_MINUTES_getInstance,
|
|
163
|
+
Duration__plus_impl_yu9v8f2as9k1ghoc0eo as Duration__plus_impl_yu9v8f,
|
|
163
164
|
FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
|
|
164
165
|
_Duration___get_absoluteValue__impl__vr7i6w1o3j57dwhcfbu as _Duration___get_absoluteValue__impl__vr7i6w,
|
|
165
166
|
toByteArray3caw0hip00os as toByteArray,
|
|
@@ -35848,7 +35849,7 @@ function rateLimitWait($this) {
|
|
|
35848
35849
|
}
|
|
35849
35850
|
function rateLimited($this, retryAfterSeconds) {
|
|
35850
35851
|
$this.xb2_1 = $this.xb2_1 + 1 | 0;
|
|
35851
|
-
var ladder = Duration__times_impl_sfuzvp(Companion_getInstance_52().
|
|
35852
|
+
var ladder = Duration__times_impl_sfuzvp(Companion_getInstance_52().wb3_1, 1 << coerceAtMost($this.xb2_1 - 1 | 0, 5));
|
|
35852
35853
|
var tmp1_safe_receiver = retryAfterSeconds == null ? null : coerceAtLeast_0(retryAfterSeconds, new Long(0, 0));
|
|
35853
35854
|
var tmp;
|
|
35854
35855
|
if (tmp1_safe_receiver == null) {
|
|
@@ -35866,7 +35867,7 @@ function rateLimited($this, retryAfterSeconds) {
|
|
|
35866
35867
|
} else {
|
|
35867
35868
|
tmp_0 = tmp2_elvis_lhs;
|
|
35868
35869
|
}
|
|
35869
|
-
var wait = maxOf(new Duration(tmp_0), coerceAtMost_0(new Duration(ladder), new Duration(Companion_getInstance_52().
|
|
35870
|
+
var wait = maxOf(new Duration(tmp_0), coerceAtMost_0(new Duration(ladder), new Duration(Companion_getInstance_52().xb3_1))).jf_1;
|
|
35870
35871
|
$this.tb2_1 = $this.hb2_1.fo().yo(wait).yo(Duration__times_impl_sfuzvp_0(wait, $this.gb2_1.vk() * 0.25));
|
|
35871
35872
|
}
|
|
35872
35873
|
function answered($this) {
|
|
@@ -35927,7 +35928,7 @@ function nudge($this) {
|
|
|
35927
35928
|
}
|
|
35928
35929
|
function buildLoop($this) {
|
|
35929
35930
|
var secretParams = NetworkRedaction_getInstance().m66($this.eb2_1.steamEndpoints.paramAccessToken);
|
|
35930
|
-
var tmp0_safe_receiver = $this.bb2_1.
|
|
35931
|
+
var tmp0_safe_receiver = $this.bb2_1.yb4_1;
|
|
35931
35932
|
var tmp;
|
|
35932
35933
|
if (tmp0_safe_receiver == null) {
|
|
35933
35934
|
tmp = null;
|
|
@@ -35943,10 +35944,10 @@ function buildLoop($this) {
|
|
|
35943
35944
|
var creator = $this.fb2_1 ? new HeaderSessionSteamOfferCreator(steamHttp, sessionId, community, adapter) : RefusedOfferWrites_instance;
|
|
35944
35945
|
var canceller = $this.fb2_1 ? new HeaderSessionSteamOfferCanceller(steamHttp, sessionId, community) : RefusedOfferWrites_instance;
|
|
35945
35946
|
var tmp_0 = new TradeTrackerCore(Companion_instance_2.c5w($this.eb2_1.game));
|
|
35946
|
-
var tmp_1 = new LoopConfig('1.0
|
|
35947
|
+
var tmp_1 = new LoopConfig('1.1.0-beta', RuntimeSurface_Headless_getInstance(), TrackerMode_Background_getInstance(), $this.eb2_1, true, Companion_getInstance_52().qb3_1, Companion_getInstance_52().rb3_1, true, $this.fb2_1, false, Companion_getInstance_52().vb3_1, true, false);
|
|
35947
35948
|
var tmp2_elvis_lhs = $this.eb2_1.http.maxReportBodyBytes;
|
|
35948
35949
|
var tmp_2 = tmp2_elvis_lhs == null ? 7168 : tmp2_elvis_lhs;
|
|
35949
|
-
return tmp_0.
|
|
35950
|
+
return tmp_0.cb5(tmp_1, new AccountWatch($this, new KtorMarketplaceClient($this.pb2_1, $this.db2_1, $this.ab3_1, $this.eb2_1.marketplaceRetry, VOID, tmp_2, HeadlessTracker$heardServerDate$ref($this))), new KtorSteamReadClient(steamHttp, $this.eb2_1.steamEndpoints), $this.jb2_1.p81_1, $this.kb2_1, $this.nb2_1, $this.jb2_1.q81_1, $this.hb2_1, $this.bb3_1, creator, canceller, new KtorSteamInventoryReader(steamHttp, community, adapter, $this.eb2_1.steamEndpoints.inventoryPageCount, $this.eb2_1.steamEndpoints.inventoryMaxPages), NoOpSteamSessionRefresher_instance, VOID, new PersistedTrackerProgressStore($this.mb2_1), new PersistedDealWriteClaimStore($this.mb2_1), new PersistedUnprovenClaimStore($this.mb2_1), new PersistedSteamWriteThrottleStore($this.eb2_1.steamWrites, $this.mb2_1), new PersistedNotaryProofThrottleStore($this.eb2_1.notary.c5k_1, $this.mb2_1), new PersistedLoopStateStore($this.mb2_1), VOID, true, $this.yb2_1, new KtorSteamNotificationReader(steamHttp, $this.eb2_1.steamEndpoints), $this.gb2_1);
|
|
35950
35951
|
}
|
|
35951
35952
|
function Companion_40() {
|
|
35952
35953
|
Companion_instance_44 = this;
|
|
@@ -35954,34 +35955,39 @@ function Companion_40() {
|
|
|
35954
35955
|
// Inline function 'kotlin.time.Companion.minutes' call
|
|
35955
35956
|
Companion_getInstance_1();
|
|
35956
35957
|
tmp.qb3_1 = toDuration(30, DurationUnit_MINUTES_getInstance());
|
|
35957
|
-
this.rb3_1 = 7168;
|
|
35958
35958
|
var tmp_0 = this;
|
|
35959
|
-
// Inline function 'kotlin.time.Companion.
|
|
35959
|
+
// Inline function 'kotlin.time.Companion.minutes' call
|
|
35960
35960
|
Companion_getInstance_1();
|
|
35961
|
-
|
|
35961
|
+
var tmp$ret$1 = toDuration(10, DurationUnit_MINUTES_getInstance());
|
|
35962
|
+
tmp_0.rb3_1 = Duration__plus_impl_yu9v8f(this.qb3_1, tmp$ret$1);
|
|
35963
|
+
this.sb3_1 = 7168;
|
|
35962
35964
|
var tmp_1 = this;
|
|
35963
35965
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
35964
35966
|
Companion_getInstance_1();
|
|
35965
|
-
tmp_1.tb3_1 = toDuration(
|
|
35967
|
+
tmp_1.tb3_1 = toDuration(30, DurationUnit_SECONDS_getInstance());
|
|
35966
35968
|
var tmp_2 = this;
|
|
35967
|
-
// Inline function 'kotlin.time.Companion.
|
|
35969
|
+
// Inline function 'kotlin.time.Companion.seconds' call
|
|
35968
35970
|
Companion_getInstance_1();
|
|
35969
|
-
tmp_2.ub3_1 = toDuration(
|
|
35971
|
+
tmp_2.ub3_1 = toDuration(60, DurationUnit_SECONDS_getInstance());
|
|
35970
35972
|
var tmp_3 = this;
|
|
35971
|
-
// Inline function 'kotlin.time.Companion.
|
|
35973
|
+
// Inline function 'kotlin.time.Companion.minutes' call
|
|
35972
35974
|
Companion_getInstance_1();
|
|
35973
|
-
tmp_3.vb3_1 = toDuration(
|
|
35975
|
+
tmp_3.vb3_1 = toDuration(2, DurationUnit_MINUTES_getInstance());
|
|
35974
35976
|
var tmp_4 = this;
|
|
35977
|
+
// Inline function 'kotlin.time.Companion.seconds' call
|
|
35978
|
+
Companion_getInstance_1();
|
|
35979
|
+
tmp_4.wb3_1 = toDuration(30, DurationUnit_SECONDS_getInstance());
|
|
35980
|
+
var tmp_5 = this;
|
|
35975
35981
|
// Inline function 'kotlin.time.Companion.minutes' call
|
|
35976
35982
|
Companion_getInstance_1();
|
|
35977
|
-
|
|
35978
|
-
this.
|
|
35979
|
-
this.
|
|
35980
|
-
this.
|
|
35981
|
-
this.
|
|
35982
|
-
this.
|
|
35983
|
-
this.
|
|
35984
|
-
this.
|
|
35983
|
+
tmp_5.xb3_1 = toDuration(10, DurationUnit_MINUTES_getInstance());
|
|
35984
|
+
this.yb3_1 = 5;
|
|
35985
|
+
this.zb3_1 = 0.25;
|
|
35986
|
+
this.ab4_1 = 'P2P_STEAM_NOT_LINKED';
|
|
35987
|
+
this.bb4_1 = 'DMarket refused the key';
|
|
35988
|
+
this.cb4_1 = "the key's DMarket account has no Steam account linked";
|
|
35989
|
+
this.db4_1 = "DMarket refused its signature, and this host's clock is off DMarket's by more than a minute";
|
|
35990
|
+
this.eb4_1 = 403;
|
|
35985
35991
|
}
|
|
35986
35992
|
var Companion_instance_44;
|
|
35987
35993
|
function Companion_getInstance_52() {
|
|
@@ -35990,13 +35996,13 @@ function Companion_getInstance_52() {
|
|
|
35990
35996
|
return Companion_instance_44;
|
|
35991
35997
|
}
|
|
35992
35998
|
function sam$com_dmarket_p2p_tracker_port_host_EventObserver$0(function_0) {
|
|
35993
|
-
this.
|
|
35999
|
+
this.db5_1 = function_0;
|
|
35994
36000
|
}
|
|
35995
36001
|
protoOf(sam$com_dmarket_p2p_tracker_port_host_EventObserver$0).x6a = function (event, $completion) {
|
|
35996
|
-
return this.
|
|
36002
|
+
return this.db5_1(event, $completion);
|
|
35997
36003
|
};
|
|
35998
36004
|
protoOf(sam$com_dmarket_p2p_tracker_port_host_EventObserver$0).q3 = function () {
|
|
35999
|
-
return this.
|
|
36005
|
+
return this.db5_1;
|
|
36000
36006
|
};
|
|
36001
36007
|
protoOf(sam$com_dmarket_p2p_tracker_port_host_EventObserver$0).equals = function (other) {
|
|
36002
36008
|
var tmp;
|
|
@@ -36017,13 +36023,13 @@ protoOf(sam$com_dmarket_p2p_tracker_port_host_EventObserver$0).hashCode = functi
|
|
|
36017
36023
|
return hashCode(this.q3());
|
|
36018
36024
|
};
|
|
36019
36025
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
36020
|
-
this.
|
|
36026
|
+
this.eb5_1 = function_0;
|
|
36021
36027
|
}
|
|
36022
36028
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).w1i = function (value, $completion) {
|
|
36023
|
-
return this.
|
|
36029
|
+
return this.eb5_1(value, $completion);
|
|
36024
36030
|
};
|
|
36025
36031
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
36026
|
-
return this.
|
|
36032
|
+
return this.eb5_1;
|
|
36027
36033
|
};
|
|
36028
36034
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
36029
36035
|
var tmp;
|
|
@@ -36057,17 +36063,17 @@ function HeadlessTracker$storage$lambda(this$0) {
|
|
|
36057
36063
|
};
|
|
36058
36064
|
}
|
|
36059
36065
|
function HeadlessTracker$observer$slambda(this$0, resultContinuation) {
|
|
36060
|
-
this.
|
|
36066
|
+
this.nb5_1 = this$0;
|
|
36061
36067
|
CoroutineImpl.call(this, resultContinuation);
|
|
36062
36068
|
}
|
|
36063
|
-
protoOf(HeadlessTracker$observer$slambda).
|
|
36064
|
-
var tmp = this.
|
|
36069
|
+
protoOf(HeadlessTracker$observer$slambda).pb5 = function (event, $completion) {
|
|
36070
|
+
var tmp = this.qb5(event, $completion);
|
|
36065
36071
|
tmp.i9_1 = Unit_instance;
|
|
36066
36072
|
tmp.j9_1 = null;
|
|
36067
36073
|
return tmp.o9();
|
|
36068
36074
|
};
|
|
36069
36075
|
protoOf(HeadlessTracker$observer$slambda).ba = function (p1, $completion) {
|
|
36070
|
-
return this.
|
|
36076
|
+
return this.pb5((!(p1 == null) ? isInterface(p1, LifecycleEvent) : false) ? p1 : THROW_CCE(), $completion);
|
|
36071
36077
|
};
|
|
36072
36078
|
protoOf(HeadlessTracker$observer$slambda).o9 = function () {
|
|
36073
36079
|
var suspendResult = this.i9_1;
|
|
@@ -36077,13 +36083,13 @@ protoOf(HeadlessTracker$observer$slambda).o9 = function () {
|
|
|
36077
36083
|
switch (tmp) {
|
|
36078
36084
|
case 0:
|
|
36079
36085
|
this.h9_1 = 2;
|
|
36080
|
-
var tmp_0 = this.
|
|
36086
|
+
var tmp_0 = this.ob5_1;
|
|
36081
36087
|
if (tmp_0 instanceof HeartbeatSent) {
|
|
36082
|
-
this.
|
|
36088
|
+
this.nb5_1.jb2_1.m82();
|
|
36083
36089
|
}
|
|
36084
36090
|
|
|
36085
36091
|
this.g9_1 = 1;
|
|
36086
|
-
suspendResult = this.
|
|
36092
|
+
suspendResult = this.nb5_1.bb2_1.xb4_1.x6a(this.ob5_1, this);
|
|
36087
36093
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36088
36094
|
return suspendResult;
|
|
36089
36095
|
}
|
|
@@ -36105,15 +36111,15 @@ protoOf(HeadlessTracker$observer$slambda).o9 = function () {
|
|
|
36105
36111
|
}
|
|
36106
36112
|
while (true);
|
|
36107
36113
|
};
|
|
36108
|
-
protoOf(HeadlessTracker$observer$slambda).
|
|
36109
|
-
var i = new HeadlessTracker$observer$slambda(this.
|
|
36110
|
-
i.
|
|
36114
|
+
protoOf(HeadlessTracker$observer$slambda).qb5 = function (event, completion) {
|
|
36115
|
+
var i = new HeadlessTracker$observer$slambda(this.nb5_1, completion);
|
|
36116
|
+
i.ob5_1 = event;
|
|
36111
36117
|
return i;
|
|
36112
36118
|
};
|
|
36113
36119
|
function HeadlessTracker$observer$slambda_0(this$0, resultContinuation) {
|
|
36114
36120
|
var i = new HeadlessTracker$observer$slambda(this$0, resultContinuation);
|
|
36115
36121
|
return constructCallableReference(function (event, $completion) {
|
|
36116
|
-
return i.
|
|
36122
|
+
return i.pb5(event, $completion);
|
|
36117
36123
|
}, 1);
|
|
36118
36124
|
}
|
|
36119
36125
|
function HeadlessTracker$authenticator$lambda(this$0) {
|
|
@@ -36122,7 +36128,7 @@ function HeadlessTracker$authenticator$lambda(this$0) {
|
|
|
36122
36128
|
};
|
|
36123
36129
|
}
|
|
36124
36130
|
function HeadlessTracker$start$slambda(this$0, resultContinuation) {
|
|
36125
|
-
this.
|
|
36131
|
+
this.zb5_1 = this$0;
|
|
36126
36132
|
CoroutineImpl.call(this, resultContinuation);
|
|
36127
36133
|
}
|
|
36128
36134
|
protoOf(HeadlessTracker$start$slambda).k1n = function ($this$launch, $completion) {
|
|
@@ -36143,8 +36149,8 @@ protoOf(HeadlessTracker$start$slambda).o9 = function () {
|
|
|
36143
36149
|
case 0:
|
|
36144
36150
|
this.h9_1 = 2;
|
|
36145
36151
|
this.g9_1 = 1;
|
|
36146
|
-
var tmp_0 = HeadlessTracker$start$slambda$slambda_0(this.
|
|
36147
|
-
suspendResult = this.
|
|
36152
|
+
var tmp_0 = HeadlessTracker$start$slambda$slambda_0(this.zb5_1, null);
|
|
36153
|
+
suspendResult = this.zb5_1.kb2_1.t6i_1.g1i(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
36148
36154
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36149
36155
|
return suspendResult;
|
|
36150
36156
|
}
|
|
@@ -36167,8 +36173,8 @@ protoOf(HeadlessTracker$start$slambda).o9 = function () {
|
|
|
36167
36173
|
while (true);
|
|
36168
36174
|
};
|
|
36169
36175
|
protoOf(HeadlessTracker$start$slambda).l1n = function ($this$launch, completion) {
|
|
36170
|
-
var i = new HeadlessTracker$start$slambda(this.
|
|
36171
|
-
i.
|
|
36176
|
+
var i = new HeadlessTracker$start$slambda(this.zb5_1, completion);
|
|
36177
|
+
i.ab6_1 = $this$launch;
|
|
36172
36178
|
return i;
|
|
36173
36179
|
};
|
|
36174
36180
|
function HeadlessTracker$start$slambda_0(this$0, resultContinuation) {
|
|
@@ -36178,7 +36184,7 @@ function HeadlessTracker$start$slambda_0(this$0, resultContinuation) {
|
|
|
36178
36184
|
}, 1);
|
|
36179
36185
|
}
|
|
36180
36186
|
function HeadlessTracker$start$slambda_1(this$0, resultContinuation) {
|
|
36181
|
-
this.
|
|
36187
|
+
this.jb6_1 = this$0;
|
|
36182
36188
|
CoroutineImpl.call(this, resultContinuation);
|
|
36183
36189
|
}
|
|
36184
36190
|
protoOf(HeadlessTracker$start$slambda_1).k1n = function ($this$launch, $completion) {
|
|
@@ -36199,7 +36205,7 @@ protoOf(HeadlessTracker$start$slambda_1).o9 = function () {
|
|
|
36199
36205
|
case 0:
|
|
36200
36206
|
this.h9_1 = 2;
|
|
36201
36207
|
this.g9_1 = 1;
|
|
36202
|
-
suspendResult = this.
|
|
36208
|
+
suspendResult = this.jb6_1.pb3(this);
|
|
36203
36209
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36204
36210
|
return suspendResult;
|
|
36205
36211
|
}
|
|
@@ -36222,8 +36228,8 @@ protoOf(HeadlessTracker$start$slambda_1).o9 = function () {
|
|
|
36222
36228
|
while (true);
|
|
36223
36229
|
};
|
|
36224
36230
|
protoOf(HeadlessTracker$start$slambda_1).l1n = function ($this$launch, completion) {
|
|
36225
|
-
var i = new HeadlessTracker$start$slambda_1(this.
|
|
36226
|
-
i.
|
|
36231
|
+
var i = new HeadlessTracker$start$slambda_1(this.jb6_1, completion);
|
|
36232
|
+
i.kb6_1 = $this$launch;
|
|
36227
36233
|
return i;
|
|
36228
36234
|
};
|
|
36229
36235
|
function HeadlessTracker$start$slambda_2(this$0, resultContinuation) {
|
|
@@ -36234,20 +36240,20 @@ function HeadlessTracker$start$slambda_2(this$0, resultContinuation) {
|
|
|
36234
36240
|
}
|
|
36235
36241
|
function HeadlessTracker$checkKey$ref(p0) {
|
|
36236
36242
|
KFunctionImpl.call(this, 1, 3, 42);
|
|
36237
|
-
this.
|
|
36243
|
+
this.ob6_1 = p0;
|
|
36238
36244
|
}
|
|
36239
|
-
protoOf(HeadlessTracker$checkKey$ref).
|
|
36240
|
-
var tmp0 = this.
|
|
36245
|
+
protoOf(HeadlessTracker$checkKey$ref).pb6 = function (p0, p1, $completion) {
|
|
36246
|
+
var tmp0 = this.ob6_1;
|
|
36241
36247
|
return checkKey(tmp0, p0, p1, $completion);
|
|
36242
36248
|
};
|
|
36243
36249
|
protoOf(HeadlessTracker$checkKey$ref).ca = function (p1, p2, $completion) {
|
|
36244
36250
|
var tmp = p1 instanceof TradingApiKey ? p1 : THROW_CCE();
|
|
36245
|
-
return this.
|
|
36251
|
+
return this.pb6(tmp, p2 instanceof TradingApiKey ? p2 : THROW_CCE(), $completion);
|
|
36246
36252
|
};
|
|
36247
36253
|
function HeadlessTracker$checkKey$ref_0(p0) {
|
|
36248
36254
|
var i = new HeadlessTracker$checkKey$ref(p0);
|
|
36249
36255
|
return constructCallableReference(function (p0, p1, $completion) {
|
|
36250
|
-
return i.
|
|
36256
|
+
return i.pb6(p0, p1, $completion);
|
|
36251
36257
|
}, 2, 1, 42, 'checkKey', [p0]);
|
|
36252
36258
|
}
|
|
36253
36259
|
function HeadlessTracker$checkKey$lambda($candidate) {
|
|
@@ -36268,7 +36274,7 @@ function HeadlessTracker$checkKey$lambda_0($candidate) {
|
|
|
36268
36274
|
};
|
|
36269
36275
|
}
|
|
36270
36276
|
function HeadlessTracker$nudge$slambda(this$0, resultContinuation) {
|
|
36271
|
-
this.
|
|
36277
|
+
this.yb6_1 = this$0;
|
|
36272
36278
|
CoroutineImpl.call(this, resultContinuation);
|
|
36273
36279
|
}
|
|
36274
36280
|
protoOf(HeadlessTracker$nudge$slambda).k1n = function ($this$launch, $completion) {
|
|
@@ -36289,7 +36295,7 @@ protoOf(HeadlessTracker$nudge$slambda).o9 = function () {
|
|
|
36289
36295
|
case 0:
|
|
36290
36296
|
this.h9_1 = 3;
|
|
36291
36297
|
this.g9_1 = 1;
|
|
36292
|
-
suspendResult = this.
|
|
36298
|
+
suspendResult = this.yb6_1.cb3_1.zan(this);
|
|
36293
36299
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36294
36300
|
return suspendResult;
|
|
36295
36301
|
}
|
|
@@ -36297,7 +36303,7 @@ protoOf(HeadlessTracker$nudge$slambda).o9 = function () {
|
|
|
36297
36303
|
continue $sm;
|
|
36298
36304
|
case 1:
|
|
36299
36305
|
this.g9_1 = 2;
|
|
36300
|
-
suspendResult = this.
|
|
36306
|
+
suspendResult = this.yb6_1.pb3(this);
|
|
36301
36307
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36302
36308
|
return suspendResult;
|
|
36303
36309
|
}
|
|
@@ -36320,8 +36326,8 @@ protoOf(HeadlessTracker$nudge$slambda).o9 = function () {
|
|
|
36320
36326
|
while (true);
|
|
36321
36327
|
};
|
|
36322
36328
|
protoOf(HeadlessTracker$nudge$slambda).l1n = function ($this$launch, completion) {
|
|
36323
|
-
var i = new HeadlessTracker$nudge$slambda(this.
|
|
36324
|
-
i.
|
|
36329
|
+
var i = new HeadlessTracker$nudge$slambda(this.yb6_1, completion);
|
|
36330
|
+
i.zb6_1 = $this$launch;
|
|
36325
36331
|
return i;
|
|
36326
36332
|
};
|
|
36327
36333
|
function HeadlessTracker$nudge$slambda_0(this$0, resultContinuation) {
|
|
@@ -36332,7 +36338,7 @@ function HeadlessTracker$nudge$slambda_0(this$0, resultContinuation) {
|
|
|
36332
36338
|
}
|
|
36333
36339
|
function $cycleCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
36334
36340
|
CoroutineImpl.call(this, resultContinuation);
|
|
36335
|
-
this.
|
|
36341
|
+
this.ib7_1 = _this__u8e3s4;
|
|
36336
36342
|
}
|
|
36337
36343
|
protoOf($cycleCOROUTINE$).o9 = function () {
|
|
36338
36344
|
var suspendResult = this.i9_1;
|
|
@@ -36342,17 +36348,17 @@ protoOf($cycleCOROUTINE$).o9 = function () {
|
|
|
36342
36348
|
switch (tmp) {
|
|
36343
36349
|
case 0:
|
|
36344
36350
|
this.h9_1 = 10;
|
|
36345
|
-
this.
|
|
36346
|
-
this.
|
|
36351
|
+
this.kb7_1 = this.ib7_1.lb2_1;
|
|
36352
|
+
this.jb7_1 = null;
|
|
36347
36353
|
this.g9_1 = 1;
|
|
36348
|
-
suspendResult = this.
|
|
36354
|
+
suspendResult = this.kb7_1.c1t(this.jb7_1, this);
|
|
36349
36355
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36350
36356
|
return suspendResult;
|
|
36351
36357
|
}
|
|
36352
36358
|
|
|
36353
36359
|
continue $sm;
|
|
36354
36360
|
case 1:
|
|
36355
|
-
this.
|
|
36361
|
+
this.lb7_1 = Unit_instance;
|
|
36356
36362
|
this.g9_1 = 2;
|
|
36357
36363
|
continue $sm;
|
|
36358
36364
|
case 2:
|
|
@@ -36360,9 +36366,9 @@ protoOf($cycleCOROUTINE$).o9 = function () {
|
|
|
36360
36366
|
continue $sm;
|
|
36361
36367
|
case 3:
|
|
36362
36368
|
this.h9_1 = 9;
|
|
36363
|
-
if (!heartbeating(this.
|
|
36364
|
-
this.
|
|
36365
|
-
this.
|
|
36369
|
+
if (!heartbeating(this.ib7_1)) {
|
|
36370
|
+
this.ib7_1.qb2_1 = null;
|
|
36371
|
+
this.ib7_1.kb2_1.v6i(Companion_getInstance_52().tb3_1);
|
|
36366
36372
|
this.h9_1 = 10;
|
|
36367
36373
|
this.g9_1 = 7;
|
|
36368
36374
|
continue $sm;
|
|
@@ -36372,18 +36378,18 @@ protoOf($cycleCOROUTINE$).o9 = function () {
|
|
|
36372
36378
|
}
|
|
36373
36379
|
|
|
36374
36380
|
case 4:
|
|
36375
|
-
if (this.
|
|
36376
|
-
this.
|
|
36377
|
-
var tmp0_safe_receiver = rateLimitWait(this.
|
|
36381
|
+
if (this.ib7_1.qb2_1 == null)
|
|
36382
|
+
this.ib7_1.qb2_1 = this.ib7_1.hb2_1.fo();
|
|
36383
|
+
var tmp0_safe_receiver = rateLimitWait(this.ib7_1);
|
|
36378
36384
|
var tmp_0 = tmp0_safe_receiver;
|
|
36379
36385
|
if ((tmp_0 == null ? null : new Duration(tmp_0)) == null) {
|
|
36380
|
-
this.
|
|
36386
|
+
this.mb7_1 = null;
|
|
36381
36387
|
this.g9_1 = 5;
|
|
36382
36388
|
continue $sm;
|
|
36383
36389
|
} else {
|
|
36384
36390
|
var tmp_1 = tmp0_safe_receiver;
|
|
36385
36391
|
var it = (tmp_1 == null ? null : new Duration(tmp_1)).jf_1;
|
|
36386
|
-
this.
|
|
36392
|
+
this.ib7_1.kb2_1.v6i(it);
|
|
36387
36393
|
this.h9_1 = 10;
|
|
36388
36394
|
this.g9_1 = 7;
|
|
36389
36395
|
var tmp_2 = this;
|
|
@@ -36392,15 +36398,15 @@ protoOf($cycleCOROUTINE$).o9 = function () {
|
|
|
36392
36398
|
|
|
36393
36399
|
case 5:
|
|
36394
36400
|
this.g9_1 = 6;
|
|
36395
|
-
suspendResult = this.
|
|
36401
|
+
suspendResult = this.ib7_1.cb3_1.aao(this);
|
|
36396
36402
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36397
36403
|
return suspendResult;
|
|
36398
36404
|
}
|
|
36399
36405
|
|
|
36400
36406
|
continue $sm;
|
|
36401
36407
|
case 6:
|
|
36402
|
-
var tmp_3 = this.
|
|
36403
|
-
var tmp1_elvis_lhs = rateLimitWait(this.
|
|
36408
|
+
var tmp_3 = this.ib7_1.cb3_1.aah();
|
|
36409
|
+
var tmp1_elvis_lhs = rateLimitWait(this.ib7_1);
|
|
36404
36410
|
var tmp_4;
|
|
36405
36411
|
var tmp_5 = tmp1_elvis_lhs;
|
|
36406
36412
|
if ((tmp_5 == null ? null : new Duration(tmp_5)) == null) {
|
|
@@ -36409,25 +36415,25 @@ protoOf($cycleCOROUTINE$).o9 = function () {
|
|
|
36409
36415
|
tmp_4 = tmp1_elvis_lhs;
|
|
36410
36416
|
}
|
|
36411
36417
|
|
|
36412
|
-
this.
|
|
36413
|
-
this.
|
|
36418
|
+
this.ib7_1.kb2_1.v6i(maxOf(new Duration(tmp_3), new Duration(tmp_4)).jf_1);
|
|
36419
|
+
this.lb7_1 = Unit_instance;
|
|
36414
36420
|
this.h9_1 = 10;
|
|
36415
36421
|
this.g9_1 = 8;
|
|
36416
36422
|
continue $sm;
|
|
36417
36423
|
case 7:
|
|
36418
36424
|
this.h9_1 = 10;
|
|
36419
36425
|
var tmp_6 = this;
|
|
36420
|
-
this.
|
|
36426
|
+
this.kb7_1.o1s(this.jb7_1);
|
|
36421
36427
|
return Unit_instance;
|
|
36422
36428
|
case 8:
|
|
36423
|
-
this.
|
|
36429
|
+
this.lb7_1;
|
|
36424
36430
|
this.h9_1 = 10;
|
|
36425
|
-
this.
|
|
36431
|
+
this.kb7_1.o1s(this.jb7_1);
|
|
36426
36432
|
return Unit_instance;
|
|
36427
36433
|
case 9:
|
|
36428
36434
|
this.h9_1 = 10;
|
|
36429
36435
|
var t = this.j9_1;
|
|
36430
|
-
this.
|
|
36436
|
+
this.kb7_1.o1s(this.jb7_1);
|
|
36431
36437
|
throw t;
|
|
36432
36438
|
case 10:
|
|
36433
36439
|
throw this.j9_1;
|
|
@@ -36445,9 +36451,9 @@ protoOf($cycleCOROUTINE$).o9 = function () {
|
|
|
36445
36451
|
};
|
|
36446
36452
|
function $pushTradingApiKeyCOROUTINE$(_this__u8e3s4, publicKey, secretKey, resultContinuation) {
|
|
36447
36453
|
CoroutineImpl.call(this, resultContinuation);
|
|
36448
|
-
this.
|
|
36449
|
-
this.
|
|
36450
|
-
this.
|
|
36454
|
+
this.vb7_1 = _this__u8e3s4;
|
|
36455
|
+
this.wb7_1 = publicKey;
|
|
36456
|
+
this.xb7_1 = secretKey;
|
|
36451
36457
|
}
|
|
36452
36458
|
protoOf($pushTradingApiKeyCOROUTINE$).o9 = function () {
|
|
36453
36459
|
var suspendResult = this.i9_1;
|
|
@@ -36458,7 +36464,7 @@ protoOf($pushTradingApiKeyCOROUTINE$).o9 = function () {
|
|
|
36458
36464
|
case 0:
|
|
36459
36465
|
this.h9_1 = 2;
|
|
36460
36466
|
this.g9_1 = 1;
|
|
36461
|
-
suspendResult = this.
|
|
36467
|
+
suspendResult = this.vb7_1.ib2_1.v7w(this.wb7_1, this.xb7_1, HeadlessTracker$checkKey$ref_0(this.vb7_1), this);
|
|
36462
36468
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36463
36469
|
return suspendResult;
|
|
36464
36470
|
}
|
|
@@ -36469,11 +36475,11 @@ protoOf($pushTradingApiKeyCOROUTINE$).o9 = function () {
|
|
|
36469
36475
|
if (push instanceof Held) {
|
|
36470
36476
|
switch (push.p7v_1.a1_1) {
|
|
36471
36477
|
case 0:
|
|
36472
|
-
nudge(this.
|
|
36478
|
+
nudge(this.vb7_1);
|
|
36473
36479
|
break;
|
|
36474
36480
|
case 3:
|
|
36475
|
-
this.
|
|
36476
|
-
nudge(this.
|
|
36481
|
+
this.vb7_1.jb2_1.n82();
|
|
36482
|
+
nudge(this.vb7_1);
|
|
36477
36483
|
break;
|
|
36478
36484
|
case 1:
|
|
36479
36485
|
case 2:
|
|
@@ -36501,9 +36507,9 @@ protoOf($pushTradingApiKeyCOROUTINE$).o9 = function () {
|
|
|
36501
36507
|
};
|
|
36502
36508
|
function $checkKeyCOROUTINE$(_this__u8e3s4, candidate, held, resultContinuation) {
|
|
36503
36509
|
CoroutineImpl.call(this, resultContinuation);
|
|
36504
|
-
this.
|
|
36505
|
-
this.
|
|
36506
|
-
this.
|
|
36510
|
+
this.nb4_1 = _this__u8e3s4;
|
|
36511
|
+
this.ob4_1 = candidate;
|
|
36512
|
+
this.pb4_1 = held;
|
|
36507
36513
|
}
|
|
36508
36514
|
protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
36509
36515
|
var suspendResult = this.i9_1;
|
|
@@ -36513,22 +36519,22 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36513
36519
|
switch (tmp) {
|
|
36514
36520
|
case 0:
|
|
36515
36521
|
this.h9_1 = 6;
|
|
36516
|
-
this.
|
|
36522
|
+
this.qb4_1 = new Held(this.ob4_1.p64_1, KeyChange_REPLACED_getInstance());
|
|
36517
36523
|
var tmp_0 = this;
|
|
36518
|
-
var tmp0_safe_receiver = this.
|
|
36524
|
+
var tmp0_safe_receiver = this.nb4_1.jb2_1.j82();
|
|
36519
36525
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l65_1;
|
|
36520
36526
|
var tmp_1;
|
|
36521
36527
|
var tmp_2 = tmp1_elvis_lhs;
|
|
36522
36528
|
if ((tmp_2 == null ? null : new SteamId(tmp_2)) == null) {
|
|
36523
|
-
return this.
|
|
36529
|
+
return this.qb4_1;
|
|
36524
36530
|
} else {
|
|
36525
36531
|
tmp_1 = tmp1_elvis_lhs;
|
|
36526
36532
|
}
|
|
36527
36533
|
|
|
36528
|
-
tmp_0.
|
|
36529
|
-
this.
|
|
36534
|
+
tmp_0.tb4_1 = tmp_1;
|
|
36535
|
+
this.ub4_1 = RuntimeSurface_Headless_getInstance().n5w();
|
|
36530
36536
|
this.g9_1 = 1;
|
|
36531
|
-
suspendResult = this.
|
|
36537
|
+
suspendResult = this.nb4_1.nb2_1.b6o(this);
|
|
36532
36538
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36533
36539
|
return suspendResult;
|
|
36534
36540
|
}
|
|
@@ -36542,11 +36548,11 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36542
36548
|
continue $sm;
|
|
36543
36549
|
case 2:
|
|
36544
36550
|
var ARGUMENT = suspendResult.r5w_1;
|
|
36545
|
-
var request = new HeartbeatRequest('1.0
|
|
36546
|
-
var tmp_3 = new TradingApiAuthenticator(HeadlessTracker$checkKey$lambda(this.
|
|
36547
|
-
var client = new KtorMarketplaceClient(this.
|
|
36551
|
+
var request = new HeartbeatRequest('1.1.0-beta', this.ub4_1, false, this.tb4_1, ARGUMENT);
|
|
36552
|
+
var tmp_3 = new TradingApiAuthenticator(HeadlessTracker$checkKey$lambda(this.ob4_1), this.nb4_1.hb2_1, this.nb4_1.bb2_1.zb4_1);
|
|
36553
|
+
var client = new KtorMarketplaceClient(this.nb4_1.pb2_1, this.nb4_1.db2_1, tmp_3, VOID, VOID, VOID, HeadlessTracker$heardServerDate$ref(this.nb4_1));
|
|
36548
36554
|
var tmp_4 = this;
|
|
36549
|
-
tmp_4.
|
|
36555
|
+
tmp_4.sb4_1 = HeadlessTracker$checkKey$lambda_0(this.ob4_1);
|
|
36550
36556
|
this.h9_1 = 4;
|
|
36551
36557
|
this.g9_1 = 3;
|
|
36552
36558
|
suspendResult = client.s72(request, this);
|
|
@@ -36556,7 +36562,7 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36556
36562
|
|
|
36557
36563
|
continue $sm;
|
|
36558
36564
|
case 3:
|
|
36559
|
-
this.
|
|
36565
|
+
this.rb4_1 = suspendResult;
|
|
36560
36566
|
this.h9_1 = 6;
|
|
36561
36567
|
this.g9_1 = 5;
|
|
36562
36568
|
continue $sm;
|
|
@@ -36572,8 +36578,8 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36572
36578
|
if (tmp_7 instanceof MarketplaceUnauthorizedException) {
|
|
36573
36579
|
var _unused_var__etf5q3 = this.j9_1;
|
|
36574
36580
|
var tmp_8 = this;
|
|
36575
|
-
if (this.
|
|
36576
|
-
return this.
|
|
36581
|
+
if (this.nb4_1.yb7().kb8())
|
|
36582
|
+
return this.sb4_1("DMarket refused its signature, and this host's clock is off DMarket's by more than a minute");
|
|
36577
36583
|
return new Invalid('DMarket refused the key');
|
|
36578
36584
|
} else {
|
|
36579
36585
|
var tmp_9 = this.j9_1;
|
|
@@ -36582,7 +36588,7 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36582
36588
|
var tmp_10 = this;
|
|
36583
36589
|
var tmp_11;
|
|
36584
36590
|
if (e_0.c6b_1 === 'P2P_STEAM_NOT_LINKED') {
|
|
36585
|
-
var tmp2_safe_receiver = this.
|
|
36591
|
+
var tmp2_safe_receiver = this.nb4_1.jb2_1.i82();
|
|
36586
36592
|
var tmp_12;
|
|
36587
36593
|
var tmp_13 = tmp2_safe_receiver;
|
|
36588
36594
|
if ((tmp_13 == null ? null : new SteamId(tmp_13)) == null) {
|
|
@@ -36590,14 +36596,14 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36590
36596
|
} else {
|
|
36591
36597
|
var tmp_14 = tmp2_safe_receiver;
|
|
36592
36598
|
var it = (tmp_14 == null ? null : new SteamId(tmp_14)).p5w_1;
|
|
36593
|
-
tmp_12 = new AccountChanged(this.
|
|
36599
|
+
tmp_12 = new AccountChanged(this.ob4_1.p64_1, this.pb4_1.p64_1, it, null);
|
|
36594
36600
|
}
|
|
36595
36601
|
var tmp3_elvis_lhs = tmp_12;
|
|
36596
36602
|
tmp_11 = tmp3_elvis_lhs == null ? new Invalid("the key's DMarket account has no Steam account linked") : tmp3_elvis_lhs;
|
|
36597
36603
|
} else if (e_0.b6b_1 === 403) {
|
|
36598
36604
|
tmp_11 = new Invalid('DMarket refused the key');
|
|
36599
36605
|
} else {
|
|
36600
|
-
tmp_11 = this.
|
|
36606
|
+
tmp_11 = this.sb4_1('its heartbeat failed: HTTP ' + e_0.b6b_1);
|
|
36601
36607
|
}
|
|
36602
36608
|
return tmp_11;
|
|
36603
36609
|
} else {
|
|
@@ -36605,14 +36611,14 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36605
36611
|
if (tmp_15 instanceof RateLimitedException) {
|
|
36606
36612
|
var e_1 = this.j9_1;
|
|
36607
36613
|
var tmp_16 = this;
|
|
36608
|
-
rateLimited(this.
|
|
36609
|
-
return this.
|
|
36614
|
+
rateLimited(this.nb4_1, e_1.y72_1);
|
|
36615
|
+
return this.sb4_1('its heartbeat was rate-limited');
|
|
36610
36616
|
} else {
|
|
36611
36617
|
var tmp_17 = this.j9_1;
|
|
36612
36618
|
if (tmp_17 instanceof Error) {
|
|
36613
36619
|
var _unused_var__etf5q3_0 = this.j9_1;
|
|
36614
36620
|
var tmp_18 = this;
|
|
36615
|
-
return this.
|
|
36621
|
+
return this.sb4_1('its heartbeat did not come back');
|
|
36616
36622
|
} else {
|
|
36617
36623
|
throw this.j9_1;
|
|
36618
36624
|
}
|
|
@@ -36623,12 +36629,12 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36623
36629
|
|
|
36624
36630
|
case 5:
|
|
36625
36631
|
this.h9_1 = 6;
|
|
36626
|
-
var heartbeat = this.
|
|
36627
|
-
var tmp4_elvis_lhs = this.
|
|
36632
|
+
var heartbeat = this.rb4_1;
|
|
36633
|
+
var tmp4_elvis_lhs = this.nb4_1.jb2_1.i82();
|
|
36628
36634
|
var tmp_19;
|
|
36629
36635
|
var tmp_20 = tmp4_elvis_lhs;
|
|
36630
36636
|
if ((tmp_20 == null ? null : new SteamId(tmp_20)) == null) {
|
|
36631
|
-
return this.
|
|
36637
|
+
return this.qb4_1;
|
|
36632
36638
|
} else {
|
|
36633
36639
|
tmp_19 = tmp4_elvis_lhs;
|
|
36634
36640
|
}
|
|
@@ -36636,8 +36642,8 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36636
36642
|
var bound = tmp_19;
|
|
36637
36643
|
var tmp_21 = heartbeat.l5r_1;
|
|
36638
36644
|
if (equals(tmp_21 == null ? null : new SteamId(tmp_21), new SteamId(bound)))
|
|
36639
|
-
return new Held(this.
|
|
36640
|
-
return new AccountChanged(this.
|
|
36645
|
+
return new Held(this.ob4_1.p64_1, KeyChange_ROTATED_getInstance());
|
|
36646
|
+
return new AccountChanged(this.ob4_1.p64_1, this.pb4_1.p64_1, bound, heartbeat.l5r_1);
|
|
36641
36647
|
case 6:
|
|
36642
36648
|
throw this.j9_1;
|
|
36643
36649
|
}
|
|
@@ -36654,8 +36660,8 @@ protoOf($checkKeyCOROUTINE$).o9 = function () {
|
|
|
36654
36660
|
};
|
|
36655
36661
|
function $pushSteamTokenCOROUTINE$(_this__u8e3s4, accessToken, resultContinuation) {
|
|
36656
36662
|
CoroutineImpl.call(this, resultContinuation);
|
|
36657
|
-
this.
|
|
36658
|
-
this.
|
|
36663
|
+
this.tb8_1 = _this__u8e3s4;
|
|
36664
|
+
this.ub8_1 = accessToken;
|
|
36659
36665
|
}
|
|
36660
36666
|
protoOf($pushSteamTokenCOROUTINE$).o9 = function () {
|
|
36661
36667
|
var suspendResult = this.i9_1;
|
|
@@ -36666,7 +36672,7 @@ protoOf($pushSteamTokenCOROUTINE$).o9 = function () {
|
|
|
36666
36672
|
case 0:
|
|
36667
36673
|
this.h9_1 = 2;
|
|
36668
36674
|
this.g9_1 = 1;
|
|
36669
|
-
suspendResult = this.
|
|
36675
|
+
suspendResult = this.tb8_1.jb2_1.l82(this.ub8_1, this);
|
|
36670
36676
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36671
36677
|
return suspendResult;
|
|
36672
36678
|
}
|
|
@@ -36675,7 +36681,7 @@ protoOf($pushSteamTokenCOROUTINE$).o9 = function () {
|
|
|
36675
36681
|
case 1:
|
|
36676
36682
|
var this_0 = suspendResult;
|
|
36677
36683
|
if (this_0 instanceof Held_0) {
|
|
36678
|
-
nudge(this.
|
|
36684
|
+
nudge(this.tb8_1);
|
|
36679
36685
|
}
|
|
36680
36686
|
|
|
36681
36687
|
return this_0;
|
|
@@ -36705,18 +36711,18 @@ function HeadlessTracker(platform, scope, baseUrl, tunables, steamWrites, random
|
|
|
36705
36711
|
this.eb2_1 = tunables;
|
|
36706
36712
|
this.fb2_1 = steamWrites;
|
|
36707
36713
|
this.gb2_1 = random;
|
|
36708
|
-
this.hb2_1 = this.bb2_1.
|
|
36709
|
-
this.ib2_1 = new PushedTradingApiKey(this.bb2_1.
|
|
36714
|
+
this.hb2_1 = this.bb2_1.wb4_1;
|
|
36715
|
+
this.ib2_1 = new PushedTradingApiKey(this.bb2_1.zb4_1);
|
|
36710
36716
|
var tmp = this;
|
|
36711
36717
|
tmp.jb2_1 = new PushedSteamSession(this.hb2_1, HeadlessTracker$steam$lambda(this));
|
|
36712
36718
|
this.kb2_1 = new CoroutineScheduler(this.cb2_1);
|
|
36713
36719
|
this.lb2_1 = Mutex();
|
|
36714
36720
|
var tmp_0 = this;
|
|
36715
|
-
tmp_0.mb2_1 = new AccountScopedStorage(this.bb2_1.
|
|
36721
|
+
tmp_0.mb2_1 = new AccountScopedStorage(this.bb2_1.vb4_1, HeadlessTracker$storage$lambda(this));
|
|
36716
36722
|
this.nb2_1 = new PersistedDeviceIdStore(this.mb2_1);
|
|
36717
36723
|
this.ob2_1 = fromInt(this.eb2_1.http.requestTimeoutMs);
|
|
36718
36724
|
var tmp_1 = this;
|
|
36719
|
-
var tmp0_safe_receiver = this.bb2_1.
|
|
36725
|
+
var tmp0_safe_receiver = this.bb2_1.yb4_1;
|
|
36720
36726
|
var tmp_2;
|
|
36721
36727
|
if (tmp0_safe_receiver == null) {
|
|
36722
36728
|
tmp_2 = null;
|
|
@@ -36739,9 +36745,9 @@ function HeadlessTracker(platform, scope, baseUrl, tunables, steamWrites, random
|
|
|
36739
36745
|
tmp_3.yb2_1 = new sam$com_dmarket_p2p_tracker_port_host_EventObserver$0(tmp_4);
|
|
36740
36746
|
this.zb2_1 = newSteamSessionId();
|
|
36741
36747
|
var tmp_5 = this;
|
|
36742
|
-
tmp_5.ab3_1 = new TradingApiAuthenticator(HeadlessTracker$authenticator$lambda(this), this.hb2_1, this.bb2_1.
|
|
36748
|
+
tmp_5.ab3_1 = new TradingApiAuthenticator(HeadlessTracker$authenticator$lambda(this), this.hb2_1, this.bb2_1.zb4_1);
|
|
36743
36749
|
var tmp_6 = this;
|
|
36744
|
-
var tmp0_safe_receiver_0 = this.bb2_1.
|
|
36750
|
+
var tmp0_safe_receiver_0 = this.bb2_1.ab5_1;
|
|
36745
36751
|
var tmp_7;
|
|
36746
36752
|
if (tmp0_safe_receiver_0 == null) {
|
|
36747
36753
|
tmp_7 = null;
|
|
@@ -36753,7 +36759,7 @@ function HeadlessTracker(platform, scope, baseUrl, tunables, steamWrites, random
|
|
|
36753
36759
|
tmp_6.bb3_1 = tmp1_elvis_lhs_0 == null ? NoOpNotaryProver_instance : tmp1_elvis_lhs_0;
|
|
36754
36760
|
this.cb3_1 = buildLoop(this);
|
|
36755
36761
|
}
|
|
36756
|
-
protoOf(HeadlessTracker).
|
|
36762
|
+
protoOf(HeadlessTracker).vb8 = function () {
|
|
36757
36763
|
launch(this.cb2_1, VOID, VOID, HeadlessTracker$start$slambda_0(this, null));
|
|
36758
36764
|
launch(this.cb2_1, VOID, VOID, HeadlessTracker$start$slambda_2(this, null));
|
|
36759
36765
|
};
|
|
@@ -36763,19 +36769,19 @@ protoOf(HeadlessTracker).pb3 = function ($completion) {
|
|
|
36763
36769
|
tmp.j9_1 = null;
|
|
36764
36770
|
return tmp.o9();
|
|
36765
36771
|
};
|
|
36766
|
-
protoOf(HeadlessTracker).
|
|
36772
|
+
protoOf(HeadlessTracker).wb8 = function (publicKey, secretKey, $completion) {
|
|
36767
36773
|
var tmp = new $pushTradingApiKeyCOROUTINE$(this, publicKey, secretKey, $completion);
|
|
36768
36774
|
tmp.i9_1 = Unit_instance;
|
|
36769
36775
|
tmp.j9_1 = null;
|
|
36770
36776
|
return tmp.o9();
|
|
36771
36777
|
};
|
|
36772
|
-
protoOf(HeadlessTracker).
|
|
36778
|
+
protoOf(HeadlessTracker).xb8 = function (accessToken, $completion) {
|
|
36773
36779
|
var tmp = new $pushSteamTokenCOROUTINE$(this, accessToken, $completion);
|
|
36774
36780
|
tmp.i9_1 = Unit_instance;
|
|
36775
36781
|
tmp.j9_1 = null;
|
|
36776
36782
|
return tmp.o9();
|
|
36777
36783
|
};
|
|
36778
|
-
protoOf(HeadlessTracker).
|
|
36784
|
+
protoOf(HeadlessTracker).yb7 = function () {
|
|
36779
36785
|
var credential = this.jb2_1.j82();
|
|
36780
36786
|
var tmp = !(this.ib2_1.o1() == null);
|
|
36781
36787
|
var tmp_0 = credential == null ? null : credential.l65_1;
|
|
@@ -36788,20 +36794,20 @@ function HeadlessTrackerState(hasTradingApiKey, steamTokenSteamId, steamTokenExp
|
|
|
36788
36794
|
updateRequired = updateRequired === VOID ? false : updateRequired;
|
|
36789
36795
|
updateDueTime = updateDueTime === VOID ? null : updateDueTime;
|
|
36790
36796
|
dealDeadlines = dealDeadlines === VOID ? emptyMap() : dealDeadlines;
|
|
36791
|
-
this.
|
|
36792
|
-
this.
|
|
36793
|
-
this.
|
|
36794
|
-
this.
|
|
36795
|
-
this.
|
|
36796
|
-
this.
|
|
36797
|
-
this.
|
|
36798
|
-
this.
|
|
36799
|
-
this.
|
|
36800
|
-
this.
|
|
36801
|
-
this.
|
|
36802
|
-
}
|
|
36803
|
-
protoOf(HeadlessTrackerState).
|
|
36804
|
-
var tmp0_safe_receiver = this.
|
|
36797
|
+
this.zb7_1 = hasTradingApiKey;
|
|
36798
|
+
this.ab8_1 = steamTokenSteamId;
|
|
36799
|
+
this.bb8_1 = steamTokenExpiresAt;
|
|
36800
|
+
this.cb8_1 = linkedSteamId;
|
|
36801
|
+
this.db8_1 = readySince;
|
|
36802
|
+
this.eb8_1 = trackedDealIds;
|
|
36803
|
+
this.fb8_1 = clockOffset;
|
|
36804
|
+
this.gb8_1 = steamNotLinked;
|
|
36805
|
+
this.hb8_1 = updateRequired;
|
|
36806
|
+
this.ib8_1 = updateDueTime;
|
|
36807
|
+
this.jb8_1 = dealDeadlines;
|
|
36808
|
+
}
|
|
36809
|
+
protoOf(HeadlessTrackerState).kb8 = function () {
|
|
36810
|
+
var tmp0_safe_receiver = this.fb8_1;
|
|
36805
36811
|
var tmp;
|
|
36806
36812
|
var tmp_0 = tmp0_safe_receiver;
|
|
36807
36813
|
if ((tmp_0 == null ? null : new Duration(tmp_0)) == null) {
|
|
@@ -36810,58 +36816,58 @@ protoOf(HeadlessTrackerState).jb8 = function () {
|
|
|
36810
36816
|
var tmp_1 = tmp0_safe_receiver;
|
|
36811
36817
|
// Inline function 'kotlin.let' call
|
|
36812
36818
|
var it = (tmp_1 == null ? null : new Duration(tmp_1)).jf_1;
|
|
36813
|
-
tmp = Duration__compareTo_impl_pchp0f(_Duration___get_absoluteValue__impl__vr7i6w(it), Companion_getInstance_52().
|
|
36819
|
+
tmp = Duration__compareTo_impl_pchp0f(_Duration___get_absoluteValue__impl__vr7i6w(it), Companion_getInstance_52().ub3_1) > 0;
|
|
36814
36820
|
}
|
|
36815
36821
|
var tmp1_elvis_lhs = tmp;
|
|
36816
36822
|
return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
36817
36823
|
};
|
|
36818
36824
|
protoOf(HeadlessTrackerState).toString = function () {
|
|
36819
|
-
var tmp = this.
|
|
36825
|
+
var tmp = this.ab8_1;
|
|
36820
36826
|
var tmp_0 = toString_0(tmp == null ? null : new SteamId(tmp));
|
|
36821
|
-
var tmp_1 = toString_0(this.
|
|
36822
|
-
var tmp_2 = this.
|
|
36827
|
+
var tmp_1 = toString_0(this.bb8_1);
|
|
36828
|
+
var tmp_2 = this.cb8_1;
|
|
36823
36829
|
var tmp_3 = toString_0(tmp_2 == null ? null : new SteamId(tmp_2));
|
|
36824
|
-
var tmp_4 = toString_0(this.
|
|
36825
|
-
var tmp_5 = toString(this.
|
|
36826
|
-
var tmp_6 = this.
|
|
36827
|
-
return 'HeadlessTrackerState(hasTradingApiKey=' + this.
|
|
36830
|
+
var tmp_4 = toString_0(this.db8_1);
|
|
36831
|
+
var tmp_5 = toString(this.eb8_1);
|
|
36832
|
+
var tmp_6 = this.fb8_1;
|
|
36833
|
+
return 'HeadlessTrackerState(hasTradingApiKey=' + this.zb7_1 + ', steamTokenSteamId=' + tmp_0 + ', steamTokenExpiresAt=' + tmp_1 + ', linkedSteamId=' + tmp_3 + ', readySince=' + tmp_4 + ', trackedDealIds=' + tmp_5 + ', clockOffset=' + toString_0(tmp_6 == null ? null : new Duration(tmp_6)) + ', steamNotLinked=' + this.gb8_1 + ', updateRequired=' + this.hb8_1 + ', updateDueTime=' + toString_0(this.ib8_1) + ', dealDeadlines=' + toString(this.jb8_1) + ')';
|
|
36828
36834
|
};
|
|
36829
36835
|
protoOf(HeadlessTrackerState).hashCode = function () {
|
|
36830
|
-
var result = getBooleanHashCode(this.
|
|
36836
|
+
var result = getBooleanHashCode(this.zb7_1);
|
|
36831
36837
|
var tmp = imul(result, 31);
|
|
36832
36838
|
var tmp_0;
|
|
36833
|
-
var tmp_1 = this.
|
|
36839
|
+
var tmp_1 = this.ab8_1;
|
|
36834
36840
|
if ((tmp_1 == null ? null : new SteamId(tmp_1)) == null) {
|
|
36835
36841
|
tmp_0 = 0;
|
|
36836
36842
|
} else {
|
|
36837
|
-
tmp_0 = SteamId__hashCode_impl_ibss9l(this.
|
|
36843
|
+
tmp_0 = SteamId__hashCode_impl_ibss9l(this.ab8_1);
|
|
36838
36844
|
}
|
|
36839
36845
|
result = tmp + tmp_0 | 0;
|
|
36840
|
-
result = imul(result, 31) + (this.
|
|
36846
|
+
result = imul(result, 31) + (this.bb8_1 == null ? 0 : this.bb8_1.hashCode()) | 0;
|
|
36841
36847
|
var tmp_2 = imul(result, 31);
|
|
36842
36848
|
var tmp_3;
|
|
36843
|
-
var tmp_4 = this.
|
|
36849
|
+
var tmp_4 = this.cb8_1;
|
|
36844
36850
|
if ((tmp_4 == null ? null : new SteamId(tmp_4)) == null) {
|
|
36845
36851
|
tmp_3 = 0;
|
|
36846
36852
|
} else {
|
|
36847
|
-
tmp_3 = SteamId__hashCode_impl_ibss9l(this.
|
|
36853
|
+
tmp_3 = SteamId__hashCode_impl_ibss9l(this.cb8_1);
|
|
36848
36854
|
}
|
|
36849
36855
|
result = tmp_2 + tmp_3 | 0;
|
|
36850
|
-
result = imul(result, 31) + (this.
|
|
36851
|
-
result = imul(result, 31) + hashCode(this.
|
|
36856
|
+
result = imul(result, 31) + (this.db8_1 == null ? 0 : this.db8_1.hashCode()) | 0;
|
|
36857
|
+
result = imul(result, 31) + hashCode(this.eb8_1) | 0;
|
|
36852
36858
|
var tmp_5 = imul(result, 31);
|
|
36853
36859
|
var tmp_6;
|
|
36854
|
-
var tmp_7 = this.
|
|
36860
|
+
var tmp_7 = this.fb8_1;
|
|
36855
36861
|
if ((tmp_7 == null ? null : new Duration(tmp_7)) == null) {
|
|
36856
36862
|
tmp_6 = 0;
|
|
36857
36863
|
} else {
|
|
36858
|
-
tmp_6 = Duration__hashCode_impl_u4exz6(this.
|
|
36864
|
+
tmp_6 = Duration__hashCode_impl_u4exz6(this.fb8_1);
|
|
36859
36865
|
}
|
|
36860
36866
|
result = tmp_5 + tmp_6 | 0;
|
|
36861
|
-
result = imul(result, 31) + getBooleanHashCode(this.fb8_1) | 0;
|
|
36862
36867
|
result = imul(result, 31) + getBooleanHashCode(this.gb8_1) | 0;
|
|
36863
|
-
result = imul(result, 31) + (this.hb8_1
|
|
36864
|
-
result = imul(result, 31) +
|
|
36868
|
+
result = imul(result, 31) + getBooleanHashCode(this.hb8_1) | 0;
|
|
36869
|
+
result = imul(result, 31) + (this.ib8_1 == null ? 0 : this.ib8_1.hashCode()) | 0;
|
|
36870
|
+
result = imul(result, 31) + hashCode(this.jb8_1) | 0;
|
|
36865
36871
|
return result;
|
|
36866
36872
|
};
|
|
36867
36873
|
protoOf(HeadlessTrackerState).equals = function (other) {
|
|
@@ -36869,37 +36875,37 @@ protoOf(HeadlessTrackerState).equals = function (other) {
|
|
|
36869
36875
|
return true;
|
|
36870
36876
|
if (!(other instanceof HeadlessTrackerState))
|
|
36871
36877
|
return false;
|
|
36872
|
-
if (!(this.
|
|
36878
|
+
if (!(this.zb7_1 === other.zb7_1))
|
|
36873
36879
|
return false;
|
|
36874
|
-
var tmp = this.
|
|
36880
|
+
var tmp = this.ab8_1;
|
|
36875
36881
|
var tmp_0 = tmp == null ? null : new SteamId(tmp);
|
|
36876
|
-
var tmp_1 = other.
|
|
36882
|
+
var tmp_1 = other.ab8_1;
|
|
36877
36883
|
if (!equals(tmp_0, tmp_1 == null ? null : new SteamId(tmp_1)))
|
|
36878
36884
|
return false;
|
|
36879
|
-
if (!equals(this.
|
|
36885
|
+
if (!equals(this.bb8_1, other.bb8_1))
|
|
36880
36886
|
return false;
|
|
36881
|
-
var tmp_2 = this.
|
|
36887
|
+
var tmp_2 = this.cb8_1;
|
|
36882
36888
|
var tmp_3 = tmp_2 == null ? null : new SteamId(tmp_2);
|
|
36883
|
-
var tmp_4 = other.
|
|
36889
|
+
var tmp_4 = other.cb8_1;
|
|
36884
36890
|
if (!equals(tmp_3, tmp_4 == null ? null : new SteamId(tmp_4)))
|
|
36885
36891
|
return false;
|
|
36886
|
-
if (!equals(this.cb8_1, other.cb8_1))
|
|
36887
|
-
return false;
|
|
36888
36892
|
if (!equals(this.db8_1, other.db8_1))
|
|
36889
36893
|
return false;
|
|
36890
|
-
|
|
36894
|
+
if (!equals(this.eb8_1, other.eb8_1))
|
|
36895
|
+
return false;
|
|
36896
|
+
var tmp_5 = this.fb8_1;
|
|
36891
36897
|
var tmp_6 = tmp_5 == null ? null : new Duration(tmp_5);
|
|
36892
|
-
var tmp_7 = other.
|
|
36898
|
+
var tmp_7 = other.fb8_1;
|
|
36893
36899
|
if (!equals(tmp_6, tmp_7 == null ? null : new Duration(tmp_7)))
|
|
36894
36900
|
return false;
|
|
36895
|
-
if (!(this.fb8_1 === other.fb8_1))
|
|
36896
|
-
return false;
|
|
36897
36901
|
if (!(this.gb8_1 === other.gb8_1))
|
|
36898
36902
|
return false;
|
|
36899
|
-
if (!
|
|
36903
|
+
if (!(this.hb8_1 === other.hb8_1))
|
|
36900
36904
|
return false;
|
|
36901
36905
|
if (!equals(this.ib8_1, other.ib8_1))
|
|
36902
36906
|
return false;
|
|
36907
|
+
if (!equals(this.jb8_1, other.jb8_1))
|
|
36908
|
+
return false;
|
|
36903
36909
|
return true;
|
|
36904
36910
|
};
|
|
36905
36911
|
function platformEd25519Signer$ref_1() {
|
|
@@ -36923,12 +36929,12 @@ function HeadlessPlatform(storageFor, clock, eventObserver, httpEngine, signerFo
|
|
|
36923
36929
|
}
|
|
36924
36930
|
signerFor = tmp;
|
|
36925
36931
|
proving = proving === VOID ? null : proving;
|
|
36926
|
-
this.
|
|
36927
|
-
this.
|
|
36928
|
-
this.
|
|
36929
|
-
this.
|
|
36930
|
-
this.
|
|
36931
|
-
this.
|
|
36932
|
+
this.vb4_1 = storageFor;
|
|
36933
|
+
this.wb4_1 = clock;
|
|
36934
|
+
this.xb4_1 = eventObserver;
|
|
36935
|
+
this.yb4_1 = httpEngine;
|
|
36936
|
+
this.zb4_1 = signerFor;
|
|
36937
|
+
this.ab5_1 = proving;
|
|
36932
36938
|
}
|
|
36933
36939
|
function newSteamSessionId() {
|
|
36934
36940
|
var bytes = Companion_getInstance().jq().oq();
|
|
@@ -36951,7 +36957,7 @@ function newSteamSessionId() {
|
|
|
36951
36957
|
return toHexString(toByteArray(take_0(destination, 12)));
|
|
36952
36958
|
}
|
|
36953
36959
|
function RefusedOfferWrites() {
|
|
36954
|
-
this.
|
|
36960
|
+
this.bb9_1 = 'offer writes are disabled on this client';
|
|
36955
36961
|
}
|
|
36956
36962
|
protoOf(RefusedOfferWrites).s6o = function (credential, draft, $completion) {
|
|
36957
36963
|
return new Failed('offer writes are disabled on this client');
|
|
@@ -36964,7 +36970,7 @@ function RefusedOfferWrites_getInstance() {
|
|
|
36964
36970
|
return RefusedOfferWrites_instance;
|
|
36965
36971
|
}
|
|
36966
36972
|
function Companion_41() {
|
|
36967
|
-
this.
|
|
36973
|
+
this.cb9_1 = '1.1.0-beta';
|
|
36968
36974
|
}
|
|
36969
36975
|
var Companion_instance_45;
|
|
36970
36976
|
function Companion_getInstance_53() {
|
|
@@ -36972,17 +36978,17 @@ function Companion_getInstance_53() {
|
|
|
36972
36978
|
}
|
|
36973
36979
|
function TradeTrackerCore(games) {
|
|
36974
36980
|
games = games === VOID ? Companion_instance_2.d5w() : games;
|
|
36975
|
-
this.
|
|
36981
|
+
this.bb5_1 = games;
|
|
36976
36982
|
}
|
|
36977
|
-
protoOf(TradeTrackerCore).
|
|
36978
|
-
return this.
|
|
36983
|
+
protoOf(TradeTrackerCore).db9 = function () {
|
|
36984
|
+
return this.bb5_1.g5w().g1();
|
|
36979
36985
|
};
|
|
36980
|
-
protoOf(TradeTrackerCore).
|
|
36986
|
+
protoOf(TradeTrackerCore).eb9 = function (config, marketplace, steamReader, scraper, scheduler, deviceId, vault, clock, notary, offerCreator, offerCanceller, inventoryReader, sessionRefresher, marketplaceCredentials, progress, claims, unprovenClaims, throttle, notaryThrottle, loopState, pushChannel, directivesEnabled, eventObserver, notifications, random) {
|
|
36981
36987
|
var provider = new SteamCredentialProvider(vault, scraper, clock, sessionRefresher, config.w8b_1.credentials.j5j());
|
|
36982
36988
|
var refreshingReader = new RefreshingSteamReadClient(steamReader, provider);
|
|
36983
36989
|
return new TradeTrackerLoop(config, marketplace, refreshingReader, provider, scheduler, clock, deviceId, inventoryReader, VOID, notary, offerCreator, offerCanceller, marketplaceCredentials, progress, claims, unprovenClaims, throttle, loopState, pushChannel, directivesEnabled, eventObserver, notifications, notaryThrottle, random);
|
|
36984
36990
|
};
|
|
36985
|
-
protoOf(TradeTrackerCore).
|
|
36991
|
+
protoOf(TradeTrackerCore).cb5 = function (config, marketplace, steamReader, scraper, scheduler, deviceId, vault, clock, notary, offerCreator, offerCanceller, inventoryReader, sessionRefresher, marketplaceCredentials, progress, claims, unprovenClaims, throttle, notaryThrottle, loopState, pushChannel, directivesEnabled, eventObserver, notifications, random, $super) {
|
|
36986
36992
|
vault = vault === VOID ? platformCredentialVault() : vault;
|
|
36987
36993
|
clock = clock === VOID ? new SystemClock() : clock;
|
|
36988
36994
|
notary = notary === VOID ? NoOpNotaryProver_instance : notary;
|
|
@@ -37002,7 +37008,7 @@ protoOf(TradeTrackerCore).bb5 = function (config, marketplace, steamReader, scra
|
|
|
37002
37008
|
eventObserver = eventObserver === VOID ? NoOpEventObserver_instance : eventObserver;
|
|
37003
37009
|
notifications = notifications === VOID ? NoOpSteamNotificationReader_instance : notifications;
|
|
37004
37010
|
random = random === VOID ? Default_getInstance() : random;
|
|
37005
|
-
return $super === VOID ? this.
|
|
37011
|
+
return $super === VOID ? this.eb9(config, marketplace, steamReader, scraper, scheduler, deviceId, vault, clock, notary, offerCreator, offerCanceller, inventoryReader, sessionRefresher, marketplaceCredentials, progress, claims, unprovenClaims, throttle, notaryThrottle, loopState, pushChannel, directivesEnabled, eventObserver, notifications, random) : $super.eb9.call(this, config, marketplace, steamReader, scraper, scheduler, deviceId, vault, clock, notary, offerCreator, offerCanceller, inventoryReader, sessionRefresher, marketplaceCredentials, progress, claims, unprovenClaims, throttle, notaryThrottle, loopState, pushChannel, directivesEnabled, eventObserver, notifications, random);
|
|
37006
37012
|
};
|
|
37007
37013
|
function platformCredentialVault() {
|
|
37008
37014
|
return new WebExtStorageCredentialVault();
|
|
@@ -37028,7 +37034,7 @@ function platformScheduler(scope, mode) {
|
|
|
37028
37034
|
function WebExtAlarmsScheduler$ticks$slambda$lambda(this$0, $this_callbackFlow) {
|
|
37029
37035
|
return function (alarm) {
|
|
37030
37036
|
var tmp;
|
|
37031
|
-
if (alarm.name == this$0.
|
|
37037
|
+
if (alarm.name == this$0.fb9_1) {
|
|
37032
37038
|
$this_callbackFlow.h1f(Unit_instance);
|
|
37033
37039
|
tmp = Unit_instance;
|
|
37034
37040
|
}
|
|
@@ -37046,26 +37052,26 @@ function alarms($this) {
|
|
|
37046
37052
|
return ns.alarms;
|
|
37047
37053
|
}
|
|
37048
37054
|
function Companion_42() {
|
|
37049
|
-
this.
|
|
37050
|
-
this.
|
|
37051
|
-
this.
|
|
37055
|
+
this.ib9_1 = 'dmarket_p2p_tracker_tick';
|
|
37056
|
+
this.jb9_1 = 60000.0;
|
|
37057
|
+
this.kb9_1 = 1.0;
|
|
37052
37058
|
}
|
|
37053
37059
|
var Companion_instance_46;
|
|
37054
37060
|
function Companion_getInstance_54() {
|
|
37055
37061
|
return Companion_instance_46;
|
|
37056
37062
|
}
|
|
37057
37063
|
function WebExtAlarmsScheduler$ticks$slambda(this$0, resultContinuation) {
|
|
37058
|
-
this.
|
|
37064
|
+
this.tb9_1 = this$0;
|
|
37059
37065
|
CoroutineImpl.call(this, resultContinuation);
|
|
37060
37066
|
}
|
|
37061
|
-
protoOf(WebExtAlarmsScheduler$ticks$slambda).
|
|
37062
|
-
var tmp = this.
|
|
37067
|
+
protoOf(WebExtAlarmsScheduler$ticks$slambda).vb9 = function ($this$callbackFlow, $completion) {
|
|
37068
|
+
var tmp = this.wb9($this$callbackFlow, $completion);
|
|
37063
37069
|
tmp.i9_1 = Unit_instance;
|
|
37064
37070
|
tmp.j9_1 = null;
|
|
37065
37071
|
return tmp.o9();
|
|
37066
37072
|
};
|
|
37067
37073
|
protoOf(WebExtAlarmsScheduler$ticks$slambda).ba = function (p1, $completion) {
|
|
37068
|
-
return this.
|
|
37074
|
+
return this.vb9((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37069
37075
|
};
|
|
37070
37076
|
protoOf(WebExtAlarmsScheduler$ticks$slambda).o9 = function () {
|
|
37071
37077
|
var suspendResult = this.i9_1;
|
|
@@ -37075,11 +37081,11 @@ protoOf(WebExtAlarmsScheduler$ticks$slambda).o9 = function () {
|
|
|
37075
37081
|
switch (tmp) {
|
|
37076
37082
|
case 0:
|
|
37077
37083
|
this.h9_1 = 2;
|
|
37078
|
-
var area = alarms(this.
|
|
37079
|
-
var cb = WebExtAlarmsScheduler$ticks$slambda$lambda(this.
|
|
37084
|
+
var area = alarms(this.tb9_1);
|
|
37085
|
+
var cb = WebExtAlarmsScheduler$ticks$slambda$lambda(this.tb9_1, this.ub9_1);
|
|
37080
37086
|
area.onAlarm.addListener(cb);
|
|
37081
37087
|
this.g9_1 = 1;
|
|
37082
|
-
suspendResult = awaitClose(this.
|
|
37088
|
+
suspendResult = awaitClose(this.ub9_1, WebExtAlarmsScheduler$ticks$slambda$lambda_0(area, cb), this);
|
|
37083
37089
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37084
37090
|
return suspendResult;
|
|
37085
37091
|
}
|
|
@@ -37101,23 +37107,23 @@ protoOf(WebExtAlarmsScheduler$ticks$slambda).o9 = function () {
|
|
|
37101
37107
|
}
|
|
37102
37108
|
while (true);
|
|
37103
37109
|
};
|
|
37104
|
-
protoOf(WebExtAlarmsScheduler$ticks$slambda).
|
|
37105
|
-
var i = new WebExtAlarmsScheduler$ticks$slambda(this.
|
|
37106
|
-
i.
|
|
37110
|
+
protoOf(WebExtAlarmsScheduler$ticks$slambda).wb9 = function ($this$callbackFlow, completion) {
|
|
37111
|
+
var i = new WebExtAlarmsScheduler$ticks$slambda(this.tb9_1, completion);
|
|
37112
|
+
i.ub9_1 = $this$callbackFlow;
|
|
37107
37113
|
return i;
|
|
37108
37114
|
};
|
|
37109
37115
|
function WebExtAlarmsScheduler$ticks$slambda_0(this$0, resultContinuation) {
|
|
37110
37116
|
var i = new WebExtAlarmsScheduler$ticks$slambda(this$0, resultContinuation);
|
|
37111
37117
|
return constructCallableReference(function ($this$callbackFlow, $completion) {
|
|
37112
|
-
return i.
|
|
37118
|
+
return i.vb9($this$callbackFlow, $completion);
|
|
37113
37119
|
}, 1);
|
|
37114
37120
|
}
|
|
37115
37121
|
function WebExtAlarmsScheduler(alarmName) {
|
|
37116
37122
|
alarmName = alarmName === VOID ? 'dmarket_p2p_tracker_tick' : alarmName;
|
|
37117
|
-
this.
|
|
37118
|
-
this.
|
|
37123
|
+
this.fb9_1 = alarmName;
|
|
37124
|
+
this.gb9_1 = null;
|
|
37119
37125
|
var tmp = this;
|
|
37120
|
-
tmp.
|
|
37126
|
+
tmp.hb9_1 = callbackFlow(WebExtAlarmsScheduler$ticks$slambda_0(this, null));
|
|
37121
37127
|
}
|
|
37122
37128
|
protoOf(WebExtAlarmsScheduler).v6i = function (delay) {
|
|
37123
37129
|
// Inline function 'kotlin.Long.div' call
|
|
@@ -37125,17 +37131,17 @@ protoOf(WebExtAlarmsScheduler).v6i = function (delay) {
|
|
|
37125
37131
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
37126
37132
|
var a = toNumber(this_0) / 60000.0;
|
|
37127
37133
|
var minutes = Math.max(a, 1.0);
|
|
37128
|
-
if (minutes === this.
|
|
37134
|
+
if (minutes === this.gb9_1)
|
|
37129
37135
|
return Unit_instance;
|
|
37130
|
-
this.
|
|
37136
|
+
this.gb9_1 = minutes;
|
|
37131
37137
|
var opts = {};
|
|
37132
37138
|
opts.periodInMinutes = minutes;
|
|
37133
37139
|
opts.delayInMinutes = minutes;
|
|
37134
|
-
alarms(this).create(this.
|
|
37140
|
+
alarms(this).create(this.fb9_1, opts);
|
|
37135
37141
|
};
|
|
37136
37142
|
protoOf(WebExtAlarmsScheduler).w6i = function () {
|
|
37137
|
-
this.
|
|
37138
|
-
alarms(this).clear(this.
|
|
37143
|
+
this.gb9_1 = null;
|
|
37144
|
+
alarms(this).clear(this.fb9_1);
|
|
37139
37145
|
};
|
|
37140
37146
|
function webExtApi() {
|
|
37141
37147
|
return typeof browser !== 'undefined' && browser.runtime ? browser : chrome;
|
|
@@ -37148,8 +37154,8 @@ function webExtCookieValue(url, name, $completion) {
|
|
|
37148
37154
|
}
|
|
37149
37155
|
function $webExtCookieValueCOROUTINE$(url, name, resultContinuation) {
|
|
37150
37156
|
CoroutineImpl.call(this, resultContinuation);
|
|
37151
|
-
this.
|
|
37152
|
-
this.
|
|
37157
|
+
this.fba_1 = url;
|
|
37158
|
+
this.gba_1 = name;
|
|
37153
37159
|
}
|
|
37154
37160
|
protoOf($webExtCookieValueCOROUTINE$).o9 = function () {
|
|
37155
37161
|
var suspendResult = this.i9_1;
|
|
@@ -37160,10 +37166,10 @@ protoOf($webExtCookieValueCOROUTINE$).o9 = function () {
|
|
|
37160
37166
|
case 0:
|
|
37161
37167
|
this.h9_1 = 3;
|
|
37162
37168
|
this.h9_1 = 2;
|
|
37163
|
-
this.
|
|
37169
|
+
this.iba_1 = Companion_instance;
|
|
37164
37170
|
var details = {};
|
|
37165
|
-
details.url = this.
|
|
37166
|
-
details.name = this.
|
|
37171
|
+
details.url = this.fba_1;
|
|
37172
|
+
details.name = this.gba_1;
|
|
37167
37173
|
this.g9_1 = 1;
|
|
37168
37174
|
var this_0 = webExtApi().cookies.get(details);
|
|
37169
37175
|
suspendResult = await_0(this_0, this);
|
|
@@ -37191,8 +37197,8 @@ protoOf($webExtCookieValueCOROUTINE$).o9 = function () {
|
|
|
37191
37197
|
|
|
37192
37198
|
var tmp2 = tmp_1;
|
|
37193
37199
|
var tmp_3 = this;
|
|
37194
|
-
this.
|
|
37195
|
-
tmp_3.
|
|
37200
|
+
this.iba_1;
|
|
37201
|
+
tmp_3.hba_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
37196
37202
|
this.h9_1 = 3;
|
|
37197
37203
|
this.g9_1 = 4;
|
|
37198
37204
|
continue $sm;
|
|
@@ -37202,7 +37208,7 @@ protoOf($webExtCookieValueCOROUTINE$).o9 = function () {
|
|
|
37202
37208
|
if (tmp_4 instanceof Error) {
|
|
37203
37209
|
var e = this.j9_1;
|
|
37204
37210
|
var tmp_5 = this;
|
|
37205
|
-
tmp_5.
|
|
37211
|
+
tmp_5.hba_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
37206
37212
|
this.g9_1 = 4;
|
|
37207
37213
|
continue $sm;
|
|
37208
37214
|
} else {
|
|
@@ -37213,7 +37219,7 @@ protoOf($webExtCookieValueCOROUTINE$).o9 = function () {
|
|
|
37213
37219
|
throw this.j9_1;
|
|
37214
37220
|
case 4:
|
|
37215
37221
|
this.h9_1 = 3;
|
|
37216
|
-
var this_1 = this.
|
|
37222
|
+
var this_1 = this.hba_1;
|
|
37217
37223
|
return _Result___get_isFailure__impl__jpiriv(this_1) ? null : _Result___get_value__impl__bjfvqg(this_1);
|
|
37218
37224
|
}
|
|
37219
37225
|
} catch ($p) {
|
|
@@ -37261,7 +37267,7 @@ function storageArea() {
|
|
|
37261
37267
|
}
|
|
37262
37268
|
function $webExtStorageGetCOROUTINE$(key, resultContinuation) {
|
|
37263
37269
|
CoroutineImpl.call(this, resultContinuation);
|
|
37264
|
-
this.
|
|
37270
|
+
this.rba_1 = key;
|
|
37265
37271
|
}
|
|
37266
37272
|
protoOf($webExtStorageGetCOROUTINE$).o9 = function () {
|
|
37267
37273
|
var suspendResult = this.i9_1;
|
|
@@ -37273,7 +37279,7 @@ protoOf($webExtStorageGetCOROUTINE$).o9 = function () {
|
|
|
37273
37279
|
this.h9_1 = 2;
|
|
37274
37280
|
var area = storageArea();
|
|
37275
37281
|
this.g9_1 = 1;
|
|
37276
|
-
var this_0 = area.get(this.
|
|
37282
|
+
var this_0 = area.get(this.rba_1);
|
|
37277
37283
|
suspendResult = await_0(this_0, this);
|
|
37278
37284
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37279
37285
|
return suspendResult;
|
|
@@ -37282,7 +37288,7 @@ protoOf($webExtStorageGetCOROUTINE$).o9 = function () {
|
|
|
37282
37288
|
continue $sm;
|
|
37283
37289
|
case 1:
|
|
37284
37290
|
var items = suspendResult;
|
|
37285
|
-
var tmp_0 = items[this.
|
|
37291
|
+
var tmp_0 = items[this.rba_1];
|
|
37286
37292
|
return (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
37287
37293
|
case 2:
|
|
37288
37294
|
throw this.j9_1;
|
|
@@ -37300,8 +37306,8 @@ protoOf($webExtStorageGetCOROUTINE$).o9 = function () {
|
|
|
37300
37306
|
};
|
|
37301
37307
|
function $webExtStorageSetCOROUTINE$(key, value, resultContinuation) {
|
|
37302
37308
|
CoroutineImpl.call(this, resultContinuation);
|
|
37303
|
-
this.
|
|
37304
|
-
this.
|
|
37309
|
+
this.abb_1 = key;
|
|
37310
|
+
this.bbb_1 = value;
|
|
37305
37311
|
}
|
|
37306
37312
|
protoOf($webExtStorageSetCOROUTINE$).o9 = function () {
|
|
37307
37313
|
var suspendResult = this.i9_1;
|
|
@@ -37313,7 +37319,7 @@ protoOf($webExtStorageSetCOROUTINE$).o9 = function () {
|
|
|
37313
37319
|
this.h9_1 = 2;
|
|
37314
37320
|
var area = storageArea();
|
|
37315
37321
|
var items = {};
|
|
37316
|
-
items[this.
|
|
37322
|
+
items[this.abb_1] = this.bbb_1;
|
|
37317
37323
|
this.g9_1 = 1;
|
|
37318
37324
|
var this_0 = area.set(items);
|
|
37319
37325
|
suspendResult = await_0(this_0, this);
|
|
@@ -37340,7 +37346,7 @@ protoOf($webExtStorageSetCOROUTINE$).o9 = function () {
|
|
|
37340
37346
|
};
|
|
37341
37347
|
function $webExtStorageRemoveCOROUTINE$(key, resultContinuation) {
|
|
37342
37348
|
CoroutineImpl.call(this, resultContinuation);
|
|
37343
|
-
this.
|
|
37349
|
+
this.kbb_1 = key;
|
|
37344
37350
|
}
|
|
37345
37351
|
protoOf($webExtStorageRemoveCOROUTINE$).o9 = function () {
|
|
37346
37352
|
var suspendResult = this.i9_1;
|
|
@@ -37352,7 +37358,7 @@ protoOf($webExtStorageRemoveCOROUTINE$).o9 = function () {
|
|
|
37352
37358
|
this.h9_1 = 2;
|
|
37353
37359
|
var area = storageArea();
|
|
37354
37360
|
this.g9_1 = 1;
|
|
37355
|
-
var this_0 = area.remove(this.
|
|
37361
|
+
var this_0 = area.remove(this.kbb_1);
|
|
37356
37362
|
suspendResult = await_0(this_0, this);
|
|
37357
37363
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37358
37364
|
return suspendResult;
|
|
@@ -37381,7 +37387,7 @@ function WebExtStorageCredentialVault$json$lambda($this$trackerJson) {
|
|
|
37381
37387
|
}
|
|
37382
37388
|
function $readSteamCredentialCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
37383
37389
|
CoroutineImpl.call(this, resultContinuation);
|
|
37384
|
-
this.
|
|
37390
|
+
this.tbb_1 = _this__u8e3s4;
|
|
37385
37391
|
}
|
|
37386
37392
|
protoOf($readSteamCredentialCOROUTINE$).o9 = function () {
|
|
37387
37393
|
var suspendResult = this.i9_1;
|
|
@@ -37408,10 +37414,10 @@ protoOf($readSteamCredentialCOROUTINE$).o9 = function () {
|
|
|
37408
37414
|
}
|
|
37409
37415
|
|
|
37410
37416
|
var raw = tmp_0;
|
|
37411
|
-
var this_0 = this.
|
|
37417
|
+
var this_0 = this.tbb_1;
|
|
37412
37418
|
var tmp_1;
|
|
37413
37419
|
try {
|
|
37414
|
-
var this_1 = this_0.
|
|
37420
|
+
var this_1 = this_0.ubb_1;
|
|
37415
37421
|
var this_2 = this_1.y2b();
|
|
37416
37422
|
var this_3 = serializer(this_2, createKType(getKClass(StoredSteamCredential), arrayOf([]), false));
|
|
37417
37423
|
var value = this_1.d52(isInterface(this_3, KSerializer) ? this_3 : THROW_CCE(), raw).k86();
|
|
@@ -37445,7 +37451,7 @@ protoOf($readSteamCredentialCOROUTINE$).o9 = function () {
|
|
|
37445
37451
|
};
|
|
37446
37452
|
function WebExtStorageCredentialVault() {
|
|
37447
37453
|
var tmp = this;
|
|
37448
|
-
tmp.
|
|
37454
|
+
tmp.ubb_1 = trackerJson(WebExtStorageCredentialVault$json$lambda);
|
|
37449
37455
|
}
|
|
37450
37456
|
protoOf(WebExtStorageCredentialVault).s81 = function ($completion) {
|
|
37451
37457
|
var tmp = new $readSteamCredentialCOROUTINE$(this, $completion);
|
|
@@ -37454,7 +37460,7 @@ protoOf(WebExtStorageCredentialVault).s81 = function ($completion) {
|
|
|
37454
37460
|
return tmp.o9();
|
|
37455
37461
|
};
|
|
37456
37462
|
protoOf(WebExtStorageCredentialVault).t81 = function (credential, $completion) {
|
|
37457
|
-
var tmp0 = this.
|
|
37463
|
+
var tmp0 = this.ubb_1;
|
|
37458
37464
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
37459
37465
|
var value = Companion_instance_18.e86(credential);
|
|
37460
37466
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -37491,7 +37497,7 @@ function platformHttpEngine$lambda$lambda($this$configureRequest) {
|
|
|
37491
37497
|
function transportCause(_this__u8e3s4) {
|
|
37492
37498
|
var tmp = _this__u8e3s4.cause;
|
|
37493
37499
|
var tmp0_safe_receiver = tmp instanceof JsError ? tmp : null;
|
|
37494
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
37500
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vbb_1;
|
|
37495
37501
|
var tmp_0;
|
|
37496
37502
|
if (tmp1_elvis_lhs == null) {
|
|
37497
37503
|
return null;
|
|
@@ -37579,17 +37585,17 @@ function createBrowserMarketplaceCredentials$lambda($config, $networkObserver) {
|
|
|
37579
37585
|
};
|
|
37580
37586
|
}
|
|
37581
37587
|
function FetchMarketplaceCookieTokenStore$read$slambda$slambda(this$0, resultContinuation) {
|
|
37582
|
-
this.
|
|
37588
|
+
this.ebc_1 = this$0;
|
|
37583
37589
|
CoroutineImpl.call(this, resultContinuation);
|
|
37584
37590
|
}
|
|
37585
|
-
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).
|
|
37591
|
+
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).gbc = function ($this$async, $completion) {
|
|
37586
37592
|
var tmp = this.l1n($this$async, $completion);
|
|
37587
37593
|
tmp.i9_1 = Unit_instance;
|
|
37588
37594
|
tmp.j9_1 = null;
|
|
37589
37595
|
return tmp.o9();
|
|
37590
37596
|
};
|
|
37591
37597
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).ba = function (p1, $completion) {
|
|
37592
|
-
return this.
|
|
37598
|
+
return this.gbc((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37593
37599
|
};
|
|
37594
37600
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).o9 = function () {
|
|
37595
37601
|
var suspendResult = this.i9_1;
|
|
@@ -37600,7 +37606,7 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).o9 = function ()
|
|
|
37600
37606
|
case 0:
|
|
37601
37607
|
this.h9_1 = 2;
|
|
37602
37608
|
this.g9_1 = 1;
|
|
37603
|
-
suspendResult = readCookie(this.
|
|
37609
|
+
suspendResult = readCookie(this.ebc_1, this.ebc_1.hbc_1.cookieName, this);
|
|
37604
37610
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37605
37611
|
return suspendResult;
|
|
37606
37612
|
}
|
|
@@ -37623,28 +37629,28 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).o9 = function ()
|
|
|
37623
37629
|
while (true);
|
|
37624
37630
|
};
|
|
37625
37631
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda).l1n = function ($this$async, completion) {
|
|
37626
|
-
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda(this.
|
|
37627
|
-
i.
|
|
37632
|
+
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda(this.ebc_1, completion);
|
|
37633
|
+
i.fbc_1 = $this$async;
|
|
37628
37634
|
return i;
|
|
37629
37635
|
};
|
|
37630
37636
|
function FetchMarketplaceCookieTokenStore$read$slambda$slambda_0(this$0, resultContinuation) {
|
|
37631
37637
|
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda(this$0, resultContinuation);
|
|
37632
37638
|
return constructCallableReference(function ($this$async, $completion) {
|
|
37633
|
-
return i.
|
|
37639
|
+
return i.gbc($this$async, $completion);
|
|
37634
37640
|
}, 1);
|
|
37635
37641
|
}
|
|
37636
37642
|
function FetchMarketplaceCookieTokenStore$read$slambda$slambda_1(this$0, resultContinuation) {
|
|
37637
|
-
this.
|
|
37643
|
+
this.rbc_1 = this$0;
|
|
37638
37644
|
CoroutineImpl.call(this, resultContinuation);
|
|
37639
37645
|
}
|
|
37640
|
-
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).
|
|
37646
|
+
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).gbc = function ($this$async, $completion) {
|
|
37641
37647
|
var tmp = this.l1n($this$async, $completion);
|
|
37642
37648
|
tmp.i9_1 = Unit_instance;
|
|
37643
37649
|
tmp.j9_1 = null;
|
|
37644
37650
|
return tmp.o9();
|
|
37645
37651
|
};
|
|
37646
37652
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).ba = function (p1, $completion) {
|
|
37647
|
-
return this.
|
|
37653
|
+
return this.gbc((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37648
37654
|
};
|
|
37649
37655
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).o9 = function () {
|
|
37650
37656
|
var suspendResult = this.i9_1;
|
|
@@ -37655,7 +37661,7 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).o9 = function (
|
|
|
37655
37661
|
case 0:
|
|
37656
37662
|
this.h9_1 = 2;
|
|
37657
37663
|
this.g9_1 = 1;
|
|
37658
|
-
suspendResult = readCookie(this.
|
|
37664
|
+
suspendResult = readCookie(this.rbc_1, this.rbc_1.hbc_1.refreshCookieName, this);
|
|
37659
37665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37660
37666
|
return suspendResult;
|
|
37661
37667
|
}
|
|
@@ -37678,28 +37684,28 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).o9 = function (
|
|
|
37678
37684
|
while (true);
|
|
37679
37685
|
};
|
|
37680
37686
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda$slambda_1).l1n = function ($this$async, completion) {
|
|
37681
|
-
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda_1(this.
|
|
37682
|
-
i.
|
|
37687
|
+
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda_1(this.rbc_1, completion);
|
|
37688
|
+
i.sbc_1 = $this$async;
|
|
37683
37689
|
return i;
|
|
37684
37690
|
};
|
|
37685
37691
|
function FetchMarketplaceCookieTokenStore$read$slambda$slambda_2(this$0, resultContinuation) {
|
|
37686
37692
|
var i = new FetchMarketplaceCookieTokenStore$read$slambda$slambda_1(this$0, resultContinuation);
|
|
37687
37693
|
return constructCallableReference(function ($this$async, $completion) {
|
|
37688
|
-
return i.
|
|
37694
|
+
return i.gbc($this$async, $completion);
|
|
37689
37695
|
}, 1);
|
|
37690
37696
|
}
|
|
37691
37697
|
function FetchMarketplaceCookieTokenStore$write$slambda$slambda(this$0, resultContinuation) {
|
|
37692
|
-
this.
|
|
37698
|
+
this.bbd_1 = this$0;
|
|
37693
37699
|
CoroutineImpl.call(this, resultContinuation);
|
|
37694
37700
|
}
|
|
37695
|
-
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).
|
|
37701
|
+
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).dbd = function ($this$async, $completion) {
|
|
37696
37702
|
var tmp = this.l1n($this$async, $completion);
|
|
37697
37703
|
tmp.i9_1 = Unit_instance;
|
|
37698
37704
|
tmp.j9_1 = null;
|
|
37699
37705
|
return tmp.o9();
|
|
37700
37706
|
};
|
|
37701
37707
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).ba = function (p1, $completion) {
|
|
37702
|
-
return this.
|
|
37708
|
+
return this.dbd((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37703
37709
|
};
|
|
37704
37710
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).o9 = function () {
|
|
37705
37711
|
var suspendResult = this.i9_1;
|
|
@@ -37710,7 +37716,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).o9 = function ()
|
|
|
37710
37716
|
case 0:
|
|
37711
37717
|
this.h9_1 = 2;
|
|
37712
37718
|
this.g9_1 = 1;
|
|
37713
|
-
suspendResult = readCookie(this.
|
|
37719
|
+
suspendResult = readCookie(this.bbd_1, this.bbd_1.hbc_1.cookieName, this);
|
|
37714
37720
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37715
37721
|
return suspendResult;
|
|
37716
37722
|
}
|
|
@@ -37718,7 +37724,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).o9 = function ()
|
|
|
37718
37724
|
continue $sm;
|
|
37719
37725
|
case 1:
|
|
37720
37726
|
var tmp0_safe_receiver = suspendResult;
|
|
37721
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
37727
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ebd_1;
|
|
37722
37728
|
case 2:
|
|
37723
37729
|
throw this.j9_1;
|
|
37724
37730
|
}
|
|
@@ -37734,28 +37740,28 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).o9 = function ()
|
|
|
37734
37740
|
while (true);
|
|
37735
37741
|
};
|
|
37736
37742
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda).l1n = function ($this$async, completion) {
|
|
37737
|
-
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda(this.
|
|
37738
|
-
i.
|
|
37743
|
+
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda(this.bbd_1, completion);
|
|
37744
|
+
i.cbd_1 = $this$async;
|
|
37739
37745
|
return i;
|
|
37740
37746
|
};
|
|
37741
37747
|
function FetchMarketplaceCookieTokenStore$write$slambda$slambda_0(this$0, resultContinuation) {
|
|
37742
37748
|
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda(this$0, resultContinuation);
|
|
37743
37749
|
return constructCallableReference(function ($this$async, $completion) {
|
|
37744
|
-
return i.
|
|
37750
|
+
return i.dbd($this$async, $completion);
|
|
37745
37751
|
}, 1);
|
|
37746
37752
|
}
|
|
37747
37753
|
function FetchMarketplaceCookieTokenStore$write$slambda$slambda_1(this$0, resultContinuation) {
|
|
37748
|
-
this.
|
|
37754
|
+
this.pbd_1 = this$0;
|
|
37749
37755
|
CoroutineImpl.call(this, resultContinuation);
|
|
37750
37756
|
}
|
|
37751
|
-
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).
|
|
37757
|
+
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).dbd = function ($this$async, $completion) {
|
|
37752
37758
|
var tmp = this.l1n($this$async, $completion);
|
|
37753
37759
|
tmp.i9_1 = Unit_instance;
|
|
37754
37760
|
tmp.j9_1 = null;
|
|
37755
37761
|
return tmp.o9();
|
|
37756
37762
|
};
|
|
37757
37763
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).ba = function (p1, $completion) {
|
|
37758
|
-
return this.
|
|
37764
|
+
return this.dbd((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37759
37765
|
};
|
|
37760
37766
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).o9 = function () {
|
|
37761
37767
|
var suspendResult = this.i9_1;
|
|
@@ -37766,7 +37772,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).o9 = function
|
|
|
37766
37772
|
case 0:
|
|
37767
37773
|
this.h9_1 = 2;
|
|
37768
37774
|
this.g9_1 = 1;
|
|
37769
|
-
suspendResult = readCookie(this.
|
|
37775
|
+
suspendResult = readCookie(this.pbd_1, this.pbd_1.hbc_1.refreshCookieName, this);
|
|
37770
37776
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37771
37777
|
return suspendResult;
|
|
37772
37778
|
}
|
|
@@ -37774,7 +37780,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).o9 = function
|
|
|
37774
37780
|
continue $sm;
|
|
37775
37781
|
case 1:
|
|
37776
37782
|
var tmp0_safe_receiver = suspendResult;
|
|
37777
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
37783
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ebd_1;
|
|
37778
37784
|
case 2:
|
|
37779
37785
|
throw this.j9_1;
|
|
37780
37786
|
}
|
|
@@ -37790,27 +37796,27 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).o9 = function
|
|
|
37790
37796
|
while (true);
|
|
37791
37797
|
};
|
|
37792
37798
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda$slambda_1).l1n = function ($this$async, completion) {
|
|
37793
|
-
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda_1(this.
|
|
37794
|
-
i.
|
|
37799
|
+
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda_1(this.pbd_1, completion);
|
|
37800
|
+
i.qbd_1 = $this$async;
|
|
37795
37801
|
return i;
|
|
37796
37802
|
};
|
|
37797
37803
|
function FetchMarketplaceCookieTokenStore$write$slambda$slambda_2(this$0, resultContinuation) {
|
|
37798
37804
|
var i = new FetchMarketplaceCookieTokenStore$write$slambda$slambda_1(this$0, resultContinuation);
|
|
37799
37805
|
return constructCallableReference(function ($this$async, $completion) {
|
|
37800
|
-
return i.
|
|
37806
|
+
return i.dbd($this$async, $completion);
|
|
37801
37807
|
}, 1);
|
|
37802
37808
|
}
|
|
37803
37809
|
function CookieTemplate(url, domain, path, secure, sameSite) {
|
|
37804
|
-
this.
|
|
37805
|
-
this.
|
|
37806
|
-
this.
|
|
37807
|
-
this.
|
|
37808
|
-
this.
|
|
37810
|
+
this.rbd_1 = url;
|
|
37811
|
+
this.sbd_1 = domain;
|
|
37812
|
+
this.tbd_1 = path;
|
|
37813
|
+
this.ubd_1 = secure;
|
|
37814
|
+
this.vbd_1 = sameSite;
|
|
37809
37815
|
}
|
|
37810
37816
|
function CookieRecord(value, expiresAtEpochSeconds, template) {
|
|
37811
|
-
this.
|
|
37812
|
-
this.
|
|
37813
|
-
this.
|
|
37817
|
+
this.ebd_1 = value;
|
|
37818
|
+
this.fbd_1 = expiresAtEpochSeconds;
|
|
37819
|
+
this.gbd_1 = template;
|
|
37814
37820
|
}
|
|
37815
37821
|
function readCookie($this, name, $completion) {
|
|
37816
37822
|
var tmp = new $readCookieCOROUTINE$($this, name, $completion);
|
|
@@ -37825,7 +37831,7 @@ function setCookie($this, name, value, expiry, attrs, $completion) {
|
|
|
37825
37831
|
return tmp.o9();
|
|
37826
37832
|
}
|
|
37827
37833
|
function defaultTemplate($this) {
|
|
37828
|
-
return new CookieTemplate($this.
|
|
37834
|
+
return new CookieTemplate($this.hbc_1.refreshUrl, null, '/', startsWith($this.hbc_1.refreshUrl, 'https://'), null);
|
|
37829
37835
|
}
|
|
37830
37836
|
function decodeOrSelf($this, raw) {
|
|
37831
37837
|
var tmp;
|
|
@@ -37844,17 +37850,17 @@ function decodeOrSelf($this, raw) {
|
|
|
37844
37850
|
return tmp;
|
|
37845
37851
|
}
|
|
37846
37852
|
function FetchMarketplaceCookieTokenStore$read$slambda(this$0, resultContinuation) {
|
|
37847
|
-
this.
|
|
37853
|
+
this.dbf_1 = this$0;
|
|
37848
37854
|
CoroutineImpl.call(this, resultContinuation);
|
|
37849
37855
|
}
|
|
37850
|
-
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).
|
|
37856
|
+
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).hbf = function ($this$coroutineScope, $completion) {
|
|
37851
37857
|
var tmp = this.l1n($this$coroutineScope, $completion);
|
|
37852
37858
|
tmp.i9_1 = Unit_instance;
|
|
37853
37859
|
tmp.j9_1 = null;
|
|
37854
37860
|
return tmp.o9();
|
|
37855
37861
|
};
|
|
37856
37862
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).ba = function (p1, $completion) {
|
|
37857
|
-
return this.
|
|
37863
|
+
return this.hbf((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37858
37864
|
};
|
|
37859
37865
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).o9 = function () {
|
|
37860
37866
|
var suspendResult = this.i9_1;
|
|
@@ -37864,9 +37870,9 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda).o9 = function () {
|
|
|
37864
37870
|
switch (tmp) {
|
|
37865
37871
|
case 0:
|
|
37866
37872
|
this.h9_1 = 3;
|
|
37867
|
-
var accessAsync = async(this.
|
|
37873
|
+
var accessAsync = async(this.ebf_1, VOID, VOID, FetchMarketplaceCookieTokenStore$read$slambda$slambda_0(this.dbf_1, null));
|
|
37868
37874
|
var tmp_0 = this;
|
|
37869
|
-
tmp_0.
|
|
37875
|
+
tmp_0.gbf_1 = async(this.ebf_1, VOID, VOID, FetchMarketplaceCookieTokenStore$read$slambda$slambda_2(this.dbf_1, null));
|
|
37870
37876
|
this.g9_1 = 1;
|
|
37871
37877
|
suspendResult = accessAsync.k11(this);
|
|
37872
37878
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -37875,9 +37881,9 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda).o9 = function () {
|
|
|
37875
37881
|
|
|
37876
37882
|
continue $sm;
|
|
37877
37883
|
case 1:
|
|
37878
|
-
this.
|
|
37884
|
+
this.fbf_1 = suspendResult;
|
|
37879
37885
|
this.g9_1 = 2;
|
|
37880
|
-
suspendResult = this.
|
|
37886
|
+
suspendResult = this.gbf_1.k11(this);
|
|
37881
37887
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37882
37888
|
return suspendResult;
|
|
37883
37889
|
}
|
|
@@ -37885,17 +37891,17 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda).o9 = function () {
|
|
|
37885
37891
|
continue $sm;
|
|
37886
37892
|
case 2:
|
|
37887
37893
|
var refresh = suspendResult;
|
|
37888
|
-
var tmp1_safe_receiver = refresh == null ? this.
|
|
37894
|
+
var tmp1_safe_receiver = refresh == null ? this.fbf_1 : refresh;
|
|
37889
37895
|
if (tmp1_safe_receiver == null)
|
|
37890
37896
|
null;
|
|
37891
37897
|
else {
|
|
37892
|
-
this.
|
|
37898
|
+
this.dbf_1.ibc_1 = tmp1_safe_receiver.gbd_1;
|
|
37893
37899
|
}
|
|
37894
37900
|
|
|
37895
|
-
var tmp2_safe_receiver = this.
|
|
37896
|
-
var tmp_1 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
37897
|
-
var tmp_2 = refresh == null ? null : refresh.
|
|
37898
|
-
var tmp5_safe_receiver = refresh == null ? null : refresh.
|
|
37901
|
+
var tmp2_safe_receiver = this.fbf_1;
|
|
37902
|
+
var tmp_1 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.ebd_1;
|
|
37903
|
+
var tmp_2 = refresh == null ? null : refresh.ebd_1;
|
|
37904
|
+
var tmp5_safe_receiver = refresh == null ? null : refresh.fbd_1;
|
|
37899
37905
|
var tmp_3;
|
|
37900
37906
|
if (tmp5_safe_receiver == null) {
|
|
37901
37907
|
tmp_3 = null;
|
|
@@ -37919,28 +37925,28 @@ protoOf(FetchMarketplaceCookieTokenStore$read$slambda).o9 = function () {
|
|
|
37919
37925
|
while (true);
|
|
37920
37926
|
};
|
|
37921
37927
|
protoOf(FetchMarketplaceCookieTokenStore$read$slambda).l1n = function ($this$coroutineScope, completion) {
|
|
37922
|
-
var i = new FetchMarketplaceCookieTokenStore$read$slambda(this.
|
|
37923
|
-
i.
|
|
37928
|
+
var i = new FetchMarketplaceCookieTokenStore$read$slambda(this.dbf_1, completion);
|
|
37929
|
+
i.ebf_1 = $this$coroutineScope;
|
|
37924
37930
|
return i;
|
|
37925
37931
|
};
|
|
37926
37932
|
function FetchMarketplaceCookieTokenStore$read$slambda_0(this$0, resultContinuation) {
|
|
37927
37933
|
var i = new FetchMarketplaceCookieTokenStore$read$slambda(this$0, resultContinuation);
|
|
37928
37934
|
return constructCallableReference(function ($this$coroutineScope, $completion) {
|
|
37929
|
-
return i.
|
|
37935
|
+
return i.hbf($this$coroutineScope, $completion);
|
|
37930
37936
|
}, 1);
|
|
37931
37937
|
}
|
|
37932
37938
|
function FetchMarketplaceCookieTokenStore$write$slambda(this$0, resultContinuation) {
|
|
37933
|
-
this.
|
|
37939
|
+
this.qbf_1 = this$0;
|
|
37934
37940
|
CoroutineImpl.call(this, resultContinuation);
|
|
37935
37941
|
}
|
|
37936
|
-
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).
|
|
37942
|
+
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).ubf = function ($this$coroutineScope, $completion) {
|
|
37937
37943
|
var tmp = this.l1n($this$coroutineScope, $completion);
|
|
37938
37944
|
tmp.i9_1 = Unit_instance;
|
|
37939
37945
|
tmp.j9_1 = null;
|
|
37940
37946
|
return tmp.o9();
|
|
37941
37947
|
};
|
|
37942
37948
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).ba = function (p1, $completion) {
|
|
37943
|
-
return this.
|
|
37949
|
+
return this.ubf((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
37944
37950
|
};
|
|
37945
37951
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).o9 = function () {
|
|
37946
37952
|
var suspendResult = this.i9_1;
|
|
@@ -37950,9 +37956,9 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda).o9 = function () {
|
|
|
37950
37956
|
switch (tmp) {
|
|
37951
37957
|
case 0:
|
|
37952
37958
|
this.h9_1 = 3;
|
|
37953
|
-
var a = async(this.
|
|
37959
|
+
var a = async(this.rbf_1, VOID, VOID, FetchMarketplaceCookieTokenStore$write$slambda$slambda_0(this.qbf_1, null));
|
|
37954
37960
|
var tmp_0 = this;
|
|
37955
|
-
tmp_0.
|
|
37961
|
+
tmp_0.tbf_1 = async(this.rbf_1, VOID, VOID, FetchMarketplaceCookieTokenStore$write$slambda$slambda_2(this.qbf_1, null));
|
|
37956
37962
|
this.g9_1 = 1;
|
|
37957
37963
|
suspendResult = a.k11(this);
|
|
37958
37964
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -37961,9 +37967,9 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda).o9 = function () {
|
|
|
37961
37967
|
|
|
37962
37968
|
continue $sm;
|
|
37963
37969
|
case 1:
|
|
37964
|
-
this.
|
|
37970
|
+
this.sbf_1 = suspendResult;
|
|
37965
37971
|
this.g9_1 = 2;
|
|
37966
|
-
suspendResult = this.
|
|
37972
|
+
suspendResult = this.tbf_1.k11(this);
|
|
37967
37973
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
37968
37974
|
return suspendResult;
|
|
37969
37975
|
}
|
|
@@ -37971,7 +37977,7 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda).o9 = function () {
|
|
|
37971
37977
|
continue $sm;
|
|
37972
37978
|
case 2:
|
|
37973
37979
|
var ARGUMENT = suspendResult;
|
|
37974
|
-
return to(this.
|
|
37980
|
+
return to(this.sbf_1, ARGUMENT);
|
|
37975
37981
|
case 3:
|
|
37976
37982
|
throw this.j9_1;
|
|
37977
37983
|
}
|
|
@@ -37987,20 +37993,20 @@ protoOf(FetchMarketplaceCookieTokenStore$write$slambda).o9 = function () {
|
|
|
37987
37993
|
while (true);
|
|
37988
37994
|
};
|
|
37989
37995
|
protoOf(FetchMarketplaceCookieTokenStore$write$slambda).l1n = function ($this$coroutineScope, completion) {
|
|
37990
|
-
var i = new FetchMarketplaceCookieTokenStore$write$slambda(this.
|
|
37991
|
-
i.
|
|
37996
|
+
var i = new FetchMarketplaceCookieTokenStore$write$slambda(this.qbf_1, completion);
|
|
37997
|
+
i.rbf_1 = $this$coroutineScope;
|
|
37992
37998
|
return i;
|
|
37993
37999
|
};
|
|
37994
38000
|
function FetchMarketplaceCookieTokenStore$write$slambda_0(this$0, resultContinuation) {
|
|
37995
38001
|
var i = new FetchMarketplaceCookieTokenStore$write$slambda(this$0, resultContinuation);
|
|
37996
38002
|
return constructCallableReference(function ($this$coroutineScope, $completion) {
|
|
37997
|
-
return i.
|
|
38003
|
+
return i.ubf($this$coroutineScope, $completion);
|
|
37998
38004
|
}, 1);
|
|
37999
38005
|
}
|
|
38000
38006
|
function $writeCOROUTINE$(_this__u8e3s4, tokens, resultContinuation) {
|
|
38001
38007
|
CoroutineImpl.call(this, resultContinuation);
|
|
38002
|
-
this.
|
|
38003
|
-
this.
|
|
38008
|
+
this.dbg_1 = _this__u8e3s4;
|
|
38009
|
+
this.ebg_1 = tokens;
|
|
38004
38010
|
}
|
|
38005
38011
|
protoOf($writeCOROUTINE$).o9 = function () {
|
|
38006
38012
|
var suspendResult = this.i9_1;
|
|
@@ -38011,23 +38017,23 @@ protoOf($writeCOROUTINE$).o9 = function () {
|
|
|
38011
38017
|
case 0:
|
|
38012
38018
|
this.h9_1 = 4;
|
|
38013
38019
|
var tmp_0 = this;
|
|
38014
|
-
var tmp0_elvis_lhs = this.
|
|
38015
|
-
tmp_0.
|
|
38020
|
+
var tmp0_elvis_lhs = this.dbg_1.ibc_1;
|
|
38021
|
+
tmp_0.gbg_1 = tmp0_elvis_lhs == null ? defaultTemplate(this.dbg_1) : tmp0_elvis_lhs;
|
|
38016
38022
|
var tmp_1 = this;
|
|
38017
|
-
var tmp1_safe_receiver = this.
|
|
38023
|
+
var tmp1_safe_receiver = this.ebg_1.y63_1;
|
|
38018
38024
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.vo_1;
|
|
38019
|
-
tmp_1.
|
|
38025
|
+
tmp_1.hbg_1 = tmp2_safe_receiver == null ? null : toNumber(tmp2_safe_receiver);
|
|
38020
38026
|
this.g9_1 = 1;
|
|
38021
|
-
suspendResult = setCookie(this.
|
|
38027
|
+
suspendResult = setCookie(this.dbg_1, this.dbg_1.hbc_1.refreshCookieName, this.ebg_1.x63_1, this.hbg_1, this.gbg_1, this);
|
|
38022
38028
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38023
38029
|
return suspendResult;
|
|
38024
38030
|
}
|
|
38025
38031
|
|
|
38026
38032
|
continue $sm;
|
|
38027
38033
|
case 1:
|
|
38028
|
-
this.
|
|
38034
|
+
this.fbg_1 = suspendResult;
|
|
38029
38035
|
this.g9_1 = 2;
|
|
38030
|
-
suspendResult = setCookie(this.
|
|
38036
|
+
suspendResult = setCookie(this.dbg_1, this.dbg_1.hbc_1.cookieName, this.ebg_1.w63_1, this.hbg_1, this.gbg_1, this);
|
|
38031
38037
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38032
38038
|
return suspendResult;
|
|
38033
38039
|
}
|
|
@@ -38035,10 +38041,10 @@ protoOf($writeCOROUTINE$).o9 = function () {
|
|
|
38035
38041
|
continue $sm;
|
|
38036
38042
|
case 2:
|
|
38037
38043
|
var wroteAccess = suspendResult;
|
|
38038
|
-
if (!this.
|
|
38044
|
+
if (!this.fbg_1 || !wroteAccess)
|
|
38039
38045
|
return WriteOutcome_BLIND_getInstance();
|
|
38040
38046
|
this.g9_1 = 3;
|
|
38041
|
-
suspendResult = coroutineScope(FetchMarketplaceCookieTokenStore$write$slambda_0(this.
|
|
38047
|
+
suspendResult = coroutineScope(FetchMarketplaceCookieTokenStore$write$slambda_0(this.dbg_1, null), this);
|
|
38042
38048
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38043
38049
|
return suspendResult;
|
|
38044
38050
|
}
|
|
@@ -38051,7 +38057,7 @@ protoOf($writeCOROUTINE$).o9 = function () {
|
|
|
38051
38057
|
if (backAccess == null || backRefresh == null)
|
|
38052
38058
|
return WriteOutcome_BLIND_getInstance();
|
|
38053
38059
|
var tmp_2;
|
|
38054
|
-
if (backAccess === this.
|
|
38060
|
+
if (backAccess === this.ebg_1.w63_1 && backRefresh === this.ebg_1.x63_1) {
|
|
38055
38061
|
tmp_2 = WriteOutcome_WRITTEN_getInstance();
|
|
38056
38062
|
} else {
|
|
38057
38063
|
tmp_2 = WriteOutcome_LOST_RACE_getInstance();
|
|
@@ -38074,7 +38080,7 @@ protoOf($writeCOROUTINE$).o9 = function () {
|
|
|
38074
38080
|
};
|
|
38075
38081
|
function $otherActorLikelyActiveCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
38076
38082
|
CoroutineImpl.call(this, resultContinuation);
|
|
38077
|
-
this.
|
|
38083
|
+
this.qbg_1 = _this__u8e3s4;
|
|
38078
38084
|
}
|
|
38079
38085
|
protoOf($otherActorLikelyActiveCOROUTINE$).o9 = function () {
|
|
38080
38086
|
var suspendResult = this.i9_1;
|
|
@@ -38084,7 +38090,7 @@ protoOf($otherActorLikelyActiveCOROUTINE$).o9 = function () {
|
|
|
38084
38090
|
switch (tmp) {
|
|
38085
38091
|
case 0:
|
|
38086
38092
|
this.h9_1 = 3;
|
|
38087
|
-
var host = substringBefore_0(substringAfter(this.
|
|
38093
|
+
var host = substringBefore_0(substringAfter(this.qbg_1.hbc_1.refreshUrl, '://'), '/');
|
|
38088
38094
|
if (isBlank(host))
|
|
38089
38095
|
return false;
|
|
38090
38096
|
this.h9_1 = 2;
|
|
@@ -38104,7 +38110,7 @@ protoOf($otherActorLikelyActiveCOROUTINE$).o9 = function () {
|
|
|
38104
38110
|
var tmp_0 = this;
|
|
38105
38111
|
var tmp_1 = tabs == null ? null : tabs.length;
|
|
38106
38112
|
var tmp1_elvis_lhs = (!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : null;
|
|
38107
|
-
tmp_0.
|
|
38113
|
+
tmp_0.rbg_1 = (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) > 0;
|
|
38108
38114
|
this.h9_1 = 3;
|
|
38109
38115
|
this.g9_1 = 4;
|
|
38110
38116
|
continue $sm;
|
|
@@ -38114,7 +38120,7 @@ protoOf($otherActorLikelyActiveCOROUTINE$).o9 = function () {
|
|
|
38114
38120
|
if (tmp_2 instanceof Error) {
|
|
38115
38121
|
var _unused_var__etf5q3 = this.j9_1;
|
|
38116
38122
|
var tmp_3 = this;
|
|
38117
|
-
tmp_3.
|
|
38123
|
+
tmp_3.rbg_1 = false;
|
|
38118
38124
|
this.g9_1 = 4;
|
|
38119
38125
|
continue $sm;
|
|
38120
38126
|
} else {
|
|
@@ -38125,7 +38131,7 @@ protoOf($otherActorLikelyActiveCOROUTINE$).o9 = function () {
|
|
|
38125
38131
|
throw this.j9_1;
|
|
38126
38132
|
case 4:
|
|
38127
38133
|
this.h9_1 = 3;
|
|
38128
|
-
return this.
|
|
38134
|
+
return this.rbg_1;
|
|
38129
38135
|
}
|
|
38130
38136
|
} catch ($p) {
|
|
38131
38137
|
var e = $p;
|
|
@@ -38140,8 +38146,8 @@ protoOf($otherActorLikelyActiveCOROUTINE$).o9 = function () {
|
|
|
38140
38146
|
};
|
|
38141
38147
|
function $readCookieCOROUTINE$(_this__u8e3s4, name, resultContinuation) {
|
|
38142
38148
|
CoroutineImpl.call(this, resultContinuation);
|
|
38143
|
-
this.
|
|
38144
|
-
this.
|
|
38149
|
+
this.ebe_1 = _this__u8e3s4;
|
|
38150
|
+
this.fbe_1 = name;
|
|
38145
38151
|
}
|
|
38146
38152
|
protoOf($readCookieCOROUTINE$).o9 = function () {
|
|
38147
38153
|
var suspendResult = this.i9_1;
|
|
@@ -38154,8 +38160,8 @@ protoOf($readCookieCOROUTINE$).o9 = function () {
|
|
|
38154
38160
|
this.h9_1 = 2;
|
|
38155
38161
|
var api = webExtApi();
|
|
38156
38162
|
var details = {};
|
|
38157
|
-
details.url = this.
|
|
38158
|
-
details.name = this.
|
|
38163
|
+
details.url = this.ebe_1.hbc_1.refreshUrl;
|
|
38164
|
+
details.name = this.fbe_1;
|
|
38159
38165
|
this.g9_1 = 1;
|
|
38160
38166
|
var this_0 = api.cookies.get(details);
|
|
38161
38167
|
suspendResult = await_0(this_0, this);
|
|
@@ -38176,7 +38182,7 @@ protoOf($readCookieCOROUTINE$).o9 = function () {
|
|
|
38176
38182
|
var tmp_3 = cookie.hostOnly;
|
|
38177
38183
|
var tmp1_elvis_lhs = (!(tmp_3 == null) ? typeof tmp_3 === 'boolean' : false) ? tmp_3 : null;
|
|
38178
38184
|
var hostOnly = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
38179
|
-
var tmp_4 = decodeOrSelf(this.
|
|
38185
|
+
var tmp_4 = decodeOrSelf(this.ebe_1, raw);
|
|
38180
38186
|
var tmp_5 = cookie.expirationDate;
|
|
38181
38187
|
var tmp2_safe_receiver = (!(tmp_5 == null) ? typeof tmp_5 === 'number' : false) ? tmp_5 : null;
|
|
38182
38188
|
var tmp_6 = tmp2_safe_receiver == null ? null : numberToLong(tmp2_safe_receiver);
|
|
@@ -38195,10 +38201,10 @@ protoOf($readCookieCOROUTINE$).o9 = function () {
|
|
|
38195
38201
|
var tmp4_elvis_lhs = (!(tmp_12 == null) ? typeof tmp_12 === 'boolean' : false) ? tmp_12 : null;
|
|
38196
38202
|
var tmp_13 = tmp4_elvis_lhs == null ? true : tmp4_elvis_lhs;
|
|
38197
38203
|
var tmp_14 = cookie.sameSite;
|
|
38198
|
-
tmp_2 = new CookieRecord(tmp_4, tmp_6, new CookieTemplate(this.
|
|
38204
|
+
tmp_2 = new CookieRecord(tmp_4, tmp_6, new CookieTemplate(this.ebe_1.hbc_1.refreshUrl, tmp_9, tmp_11, tmp_13, (!(tmp_14 == null) ? typeof tmp_14 === 'string' : false) ? tmp_14 : null));
|
|
38199
38205
|
}
|
|
38200
38206
|
|
|
38201
|
-
tmp_1.
|
|
38207
|
+
tmp_1.gbe_1 = tmp_2;
|
|
38202
38208
|
this.h9_1 = 3;
|
|
38203
38209
|
this.g9_1 = 4;
|
|
38204
38210
|
continue $sm;
|
|
@@ -38208,7 +38214,7 @@ protoOf($readCookieCOROUTINE$).o9 = function () {
|
|
|
38208
38214
|
if (tmp_15 instanceof Error) {
|
|
38209
38215
|
var _unused_var__etf5q3 = this.j9_1;
|
|
38210
38216
|
var tmp_16 = this;
|
|
38211
|
-
tmp_16.
|
|
38217
|
+
tmp_16.gbe_1 = null;
|
|
38212
38218
|
this.g9_1 = 4;
|
|
38213
38219
|
continue $sm;
|
|
38214
38220
|
} else {
|
|
@@ -38219,7 +38225,7 @@ protoOf($readCookieCOROUTINE$).o9 = function () {
|
|
|
38219
38225
|
throw this.j9_1;
|
|
38220
38226
|
case 4:
|
|
38221
38227
|
this.h9_1 = 3;
|
|
38222
|
-
return this.
|
|
38228
|
+
return this.gbe_1;
|
|
38223
38229
|
}
|
|
38224
38230
|
} catch ($p) {
|
|
38225
38231
|
var e = $p;
|
|
@@ -38234,11 +38240,11 @@ protoOf($readCookieCOROUTINE$).o9 = function () {
|
|
|
38234
38240
|
};
|
|
38235
38241
|
function $setCookieCOROUTINE$(_this__u8e3s4, name, value, expiry, attrs, resultContinuation) {
|
|
38236
38242
|
CoroutineImpl.call(this, resultContinuation);
|
|
38237
|
-
this.
|
|
38238
|
-
this.
|
|
38239
|
-
this.
|
|
38240
|
-
this.
|
|
38241
|
-
this.
|
|
38243
|
+
this.pbe_1 = _this__u8e3s4;
|
|
38244
|
+
this.qbe_1 = name;
|
|
38245
|
+
this.rbe_1 = value;
|
|
38246
|
+
this.sbe_1 = expiry;
|
|
38247
|
+
this.tbe_1 = attrs;
|
|
38242
38248
|
}
|
|
38243
38249
|
protoOf($setCookieCOROUTINE$).o9 = function () {
|
|
38244
38250
|
var suspendResult = this.i9_1;
|
|
@@ -38251,26 +38257,26 @@ protoOf($setCookieCOROUTINE$).o9 = function () {
|
|
|
38251
38257
|
this.h9_1 = 2;
|
|
38252
38258
|
var api = webExtApi();
|
|
38253
38259
|
var details = {};
|
|
38254
|
-
details.url = this.
|
|
38255
|
-
details.name = this.
|
|
38256
|
-
details.value = encodeURIComponent(this.
|
|
38257
|
-
details.path = this.
|
|
38258
|
-
details.secure = this.
|
|
38259
|
-
var tmp0_safe_receiver = this.
|
|
38260
|
+
details.url = this.tbe_1.rbd_1;
|
|
38261
|
+
details.name = this.qbe_1;
|
|
38262
|
+
details.value = encodeURIComponent(this.rbe_1);
|
|
38263
|
+
details.path = this.tbe_1.tbd_1;
|
|
38264
|
+
details.secure = this.tbe_1.ubd_1;
|
|
38265
|
+
var tmp0_safe_receiver = this.tbe_1.sbd_1;
|
|
38260
38266
|
if (tmp0_safe_receiver == null)
|
|
38261
38267
|
null;
|
|
38262
38268
|
else {
|
|
38263
38269
|
details.domain = tmp0_safe_receiver;
|
|
38264
38270
|
}
|
|
38265
38271
|
|
|
38266
|
-
var tmp1_safe_receiver = this.
|
|
38272
|
+
var tmp1_safe_receiver = this.tbe_1.vbd_1;
|
|
38267
38273
|
if (tmp1_safe_receiver == null)
|
|
38268
38274
|
null;
|
|
38269
38275
|
else {
|
|
38270
38276
|
details.sameSite = tmp1_safe_receiver;
|
|
38271
38277
|
}
|
|
38272
38278
|
|
|
38273
|
-
var tmp2_safe_receiver = this.
|
|
38279
|
+
var tmp2_safe_receiver = this.sbe_1;
|
|
38274
38280
|
if (tmp2_safe_receiver == null)
|
|
38275
38281
|
null;
|
|
38276
38282
|
else {
|
|
@@ -38287,7 +38293,7 @@ protoOf($setCookieCOROUTINE$).o9 = function () {
|
|
|
38287
38293
|
continue $sm;
|
|
38288
38294
|
case 1:
|
|
38289
38295
|
var written = suspendResult;
|
|
38290
|
-
this.
|
|
38296
|
+
this.ube_1 = written != null;
|
|
38291
38297
|
this.h9_1 = 3;
|
|
38292
38298
|
this.g9_1 = 4;
|
|
38293
38299
|
continue $sm;
|
|
@@ -38297,7 +38303,7 @@ protoOf($setCookieCOROUTINE$).o9 = function () {
|
|
|
38297
38303
|
if (tmp_0 instanceof Error) {
|
|
38298
38304
|
var _unused_var__etf5q3 = this.j9_1;
|
|
38299
38305
|
var tmp_1 = this;
|
|
38300
|
-
tmp_1.
|
|
38306
|
+
tmp_1.ube_1 = false;
|
|
38301
38307
|
this.g9_1 = 4;
|
|
38302
38308
|
continue $sm;
|
|
38303
38309
|
} else {
|
|
@@ -38308,7 +38314,7 @@ protoOf($setCookieCOROUTINE$).o9 = function () {
|
|
|
38308
38314
|
throw this.j9_1;
|
|
38309
38315
|
case 4:
|
|
38310
38316
|
this.h9_1 = 3;
|
|
38311
|
-
return this.
|
|
38317
|
+
return this.ube_1;
|
|
38312
38318
|
}
|
|
38313
38319
|
} catch ($p) {
|
|
38314
38320
|
var e = $p;
|
|
@@ -38323,8 +38329,8 @@ protoOf($setCookieCOROUTINE$).o9 = function () {
|
|
|
38323
38329
|
};
|
|
38324
38330
|
function FetchMarketplaceCookieTokenStore(scrapeConfig) {
|
|
38325
38331
|
scrapeConfig = scrapeConfig === VOID ? new MarketplaceScrapeConfig() : scrapeConfig;
|
|
38326
|
-
this.
|
|
38327
|
-
this.
|
|
38332
|
+
this.hbc_1 = scrapeConfig;
|
|
38333
|
+
this.ibc_1 = null;
|
|
38328
38334
|
}
|
|
38329
38335
|
protoOf(FetchMarketplaceCookieTokenStore).n6b = function ($completion) {
|
|
38330
38336
|
return coroutineScope(FetchMarketplaceCookieTokenStore$read$slambda_0(this, null), $completion);
|
|
@@ -38359,13 +38365,13 @@ function toByteArray_0(_this__u8e3s4) {
|
|
|
38359
38365
|
return new Int8Array(buffer);
|
|
38360
38366
|
}
|
|
38361
38367
|
function sam$com_dmarket_p2p_tracker_port_marketplace_Ed25519Signer$0(function_0) {
|
|
38362
|
-
this.
|
|
38368
|
+
this.ebh_1 = function_0;
|
|
38363
38369
|
}
|
|
38364
38370
|
protoOf(sam$com_dmarket_p2p_tracker_port_marketplace_Ed25519Signer$0).a6b = function (message, $completion) {
|
|
38365
|
-
return this.
|
|
38371
|
+
return this.ebh_1(message, $completion);
|
|
38366
38372
|
};
|
|
38367
38373
|
protoOf(sam$com_dmarket_p2p_tracker_port_marketplace_Ed25519Signer$0).q3 = function () {
|
|
38368
|
-
return this.
|
|
38374
|
+
return this.ebh_1;
|
|
38369
38375
|
};
|
|
38370
38376
|
protoOf(sam$com_dmarket_p2p_tracker_port_marketplace_Ed25519Signer$0).equals = function (other) {
|
|
38371
38377
|
var tmp;
|
|
@@ -38386,18 +38392,18 @@ protoOf(sam$com_dmarket_p2p_tracker_port_marketplace_Ed25519Signer$0).hashCode =
|
|
|
38386
38392
|
return hashCode(this.q3());
|
|
38387
38393
|
};
|
|
38388
38394
|
function platformEd25519Signer$slambda($subtle, $privateKey, resultContinuation) {
|
|
38389
|
-
this.
|
|
38390
|
-
this.
|
|
38395
|
+
this.nbh_1 = $subtle;
|
|
38396
|
+
this.obh_1 = $privateKey;
|
|
38391
38397
|
CoroutineImpl.call(this, resultContinuation);
|
|
38392
38398
|
}
|
|
38393
|
-
protoOf(platformEd25519Signer$slambda).
|
|
38394
|
-
var tmp = this.
|
|
38399
|
+
protoOf(platformEd25519Signer$slambda).qbh = function (message, $completion) {
|
|
38400
|
+
var tmp = this.rbh(message, $completion);
|
|
38395
38401
|
tmp.i9_1 = Unit_instance;
|
|
38396
38402
|
tmp.j9_1 = null;
|
|
38397
38403
|
return tmp.o9();
|
|
38398
38404
|
};
|
|
38399
38405
|
protoOf(platformEd25519Signer$slambda).ba = function (p1, $completion) {
|
|
38400
|
-
return this.
|
|
38406
|
+
return this.qbh((!(p1 == null) ? isByteArray(p1) : false) ? p1 : THROW_CCE(), $completion);
|
|
38401
38407
|
};
|
|
38402
38408
|
protoOf(platformEd25519Signer$slambda).o9 = function () {
|
|
38403
38409
|
var suspendResult = this.i9_1;
|
|
@@ -38408,7 +38414,7 @@ protoOf(platformEd25519Signer$slambda).o9 = function () {
|
|
|
38408
38414
|
case 0:
|
|
38409
38415
|
this.h9_1 = 2;
|
|
38410
38416
|
this.g9_1 = 1;
|
|
38411
|
-
suspendResult = await_0(this.
|
|
38417
|
+
suspendResult = await_0(this.nbh_1.sign(get_ED25519(), this.obh_1, this.pbh_1), this);
|
|
38412
38418
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38413
38419
|
return suspendResult;
|
|
38414
38420
|
}
|
|
@@ -38431,31 +38437,31 @@ protoOf(platformEd25519Signer$slambda).o9 = function () {
|
|
|
38431
38437
|
}
|
|
38432
38438
|
while (true);
|
|
38433
38439
|
};
|
|
38434
|
-
protoOf(platformEd25519Signer$slambda).
|
|
38435
|
-
var i = new platformEd25519Signer$slambda(this.
|
|
38436
|
-
i.
|
|
38440
|
+
protoOf(platformEd25519Signer$slambda).rbh = function (message, completion) {
|
|
38441
|
+
var i = new platformEd25519Signer$slambda(this.nbh_1, this.obh_1, completion);
|
|
38442
|
+
i.pbh_1 = message;
|
|
38437
38443
|
return i;
|
|
38438
38444
|
};
|
|
38439
38445
|
function platformEd25519Signer$slambda_0($subtle, $privateKey, resultContinuation) {
|
|
38440
38446
|
var i = new platformEd25519Signer$slambda($subtle, $privateKey, resultContinuation);
|
|
38441
38447
|
return constructCallableReference(function (message, $completion) {
|
|
38442
|
-
return i.
|
|
38448
|
+
return i.qbh(message, $completion);
|
|
38443
38449
|
}, 1);
|
|
38444
38450
|
}
|
|
38445
38451
|
function platformEd25519Signer$slambda_1($subtle, $publicKey, resultContinuation) {
|
|
38446
|
-
this.
|
|
38447
|
-
this.
|
|
38452
|
+
this.abi_1 = $subtle;
|
|
38453
|
+
this.bbi_1 = $publicKey;
|
|
38448
38454
|
CoroutineImpl.call(this, resultContinuation);
|
|
38449
38455
|
}
|
|
38450
|
-
protoOf(platformEd25519Signer$slambda_1).
|
|
38451
|
-
var tmp = this.
|
|
38456
|
+
protoOf(platformEd25519Signer$slambda_1).ebi = function (message, signature, $completion) {
|
|
38457
|
+
var tmp = this.fbi(message, signature, $completion);
|
|
38452
38458
|
tmp.i9_1 = Unit_instance;
|
|
38453
38459
|
tmp.j9_1 = null;
|
|
38454
38460
|
return tmp.o9();
|
|
38455
38461
|
};
|
|
38456
38462
|
protoOf(platformEd25519Signer$slambda_1).ca = function (p1, p2, $completion) {
|
|
38457
38463
|
var tmp = (!(p1 == null) ? isByteArray(p1) : false) ? p1 : THROW_CCE();
|
|
38458
|
-
return this.
|
|
38464
|
+
return this.ebi(tmp, (!(p2 == null) ? isByteArray(p2) : false) ? p2 : THROW_CCE(), $completion);
|
|
38459
38465
|
};
|
|
38460
38466
|
protoOf(platformEd25519Signer$slambda_1).o9 = function () {
|
|
38461
38467
|
var suspendResult = this.i9_1;
|
|
@@ -38466,7 +38472,7 @@ protoOf(platformEd25519Signer$slambda_1).o9 = function () {
|
|
|
38466
38472
|
case 0:
|
|
38467
38473
|
this.h9_1 = 2;
|
|
38468
38474
|
this.g9_1 = 1;
|
|
38469
|
-
suspendResult = await_0(this.
|
|
38475
|
+
suspendResult = await_0(this.abi_1.verify(get_ED25519(), this.bbi_1, this.dbi_1, this.cbi_1), this);
|
|
38470
38476
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38471
38477
|
return suspendResult;
|
|
38472
38478
|
}
|
|
@@ -38488,21 +38494,21 @@ protoOf(platformEd25519Signer$slambda_1).o9 = function () {
|
|
|
38488
38494
|
}
|
|
38489
38495
|
while (true);
|
|
38490
38496
|
};
|
|
38491
|
-
protoOf(platformEd25519Signer$slambda_1).
|
|
38492
|
-
var i = new platformEd25519Signer$slambda_1(this.
|
|
38493
|
-
i.
|
|
38494
|
-
i.
|
|
38497
|
+
protoOf(platformEd25519Signer$slambda_1).fbi = function (message, signature, completion) {
|
|
38498
|
+
var i = new platformEd25519Signer$slambda_1(this.abi_1, this.bbi_1, completion);
|
|
38499
|
+
i.cbi_1 = message;
|
|
38500
|
+
i.dbi_1 = signature;
|
|
38495
38501
|
return i;
|
|
38496
38502
|
};
|
|
38497
38503
|
function platformEd25519Signer$slambda_2($subtle, $publicKey, resultContinuation) {
|
|
38498
38504
|
var i = new platformEd25519Signer$slambda_1($subtle, $publicKey, resultContinuation);
|
|
38499
38505
|
return constructCallableReference(function (message, signature, $completion) {
|
|
38500
|
-
return i.
|
|
38506
|
+
return i.ebi(message, signature, $completion);
|
|
38501
38507
|
}, 2);
|
|
38502
38508
|
}
|
|
38503
38509
|
function $platformEd25519SignerCOROUTINE$(key, resultContinuation) {
|
|
38504
38510
|
CoroutineImpl.call(this, resultContinuation);
|
|
38505
|
-
this.
|
|
38511
|
+
this.abh_1 = key;
|
|
38506
38512
|
}
|
|
38507
38513
|
protoOf($platformEd25519SignerCOROUTINE$).o9 = function () {
|
|
38508
38514
|
var suspendResult = this.i9_1;
|
|
@@ -38521,32 +38527,32 @@ protoOf($platformEd25519SignerCOROUTINE$).o9 = function () {
|
|
|
38521
38527
|
tmp_1 = tmp0_elvis_lhs;
|
|
38522
38528
|
}
|
|
38523
38529
|
|
|
38524
|
-
tmp_0.
|
|
38530
|
+
tmp_0.bbh_1 = tmp_1;
|
|
38525
38531
|
this.g9_1 = 1;
|
|
38526
|
-
var tmp_2 = Ed25519Der_instance.j6s(this.
|
|
38532
|
+
var tmp_2 = Ed25519Der_instance.j6s(this.abh_1);
|
|
38527
38533
|
var tmp_3 = get_ED25519();
|
|
38528
38534
|
var this_0 = ['sign'];
|
|
38529
|
-
suspendResult = await_0(this.
|
|
38535
|
+
suspendResult = await_0(this.bbh_1.importKey('pkcs8', tmp_2, tmp_3, false, this_0), this);
|
|
38530
38536
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38531
38537
|
return suspendResult;
|
|
38532
38538
|
}
|
|
38533
38539
|
|
|
38534
38540
|
continue $sm;
|
|
38535
38541
|
case 1:
|
|
38536
|
-
this.
|
|
38542
|
+
this.cbh_1 = suspendResult;
|
|
38537
38543
|
this.h9_1 = 3;
|
|
38538
38544
|
this.g9_1 = 2;
|
|
38539
|
-
var tmp_4 = Ed25519Der_instance.k6s(this.
|
|
38545
|
+
var tmp_4 = Ed25519Der_instance.k6s(this.abh_1);
|
|
38540
38546
|
var tmp_5 = get_ED25519();
|
|
38541
38547
|
var this_1 = ['verify'];
|
|
38542
|
-
suspendResult = await_0(this.
|
|
38548
|
+
suspendResult = await_0(this.bbh_1.importKey('spki', tmp_4, tmp_5, false, this_1), this);
|
|
38543
38549
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38544
38550
|
return suspendResult;
|
|
38545
38551
|
}
|
|
38546
38552
|
|
|
38547
38553
|
continue $sm;
|
|
38548
38554
|
case 2:
|
|
38549
|
-
this.
|
|
38555
|
+
this.dbh_1 = suspendResult;
|
|
38550
38556
|
this.h9_1 = 6;
|
|
38551
38557
|
this.g9_1 = 4;
|
|
38552
38558
|
continue $sm;
|
|
@@ -38570,11 +38576,11 @@ protoOf($platformEd25519SignerCOROUTINE$).o9 = function () {
|
|
|
38570
38576
|
|
|
38571
38577
|
case 4:
|
|
38572
38578
|
this.h9_1 = 6;
|
|
38573
|
-
var publicKey = this.
|
|
38574
|
-
var tmp_10 = platformEd25519Signer$slambda_0(this.
|
|
38579
|
+
var publicKey = this.dbh_1;
|
|
38580
|
+
var tmp_10 = platformEd25519Signer$slambda_0(this.bbh_1, this.cbh_1, null);
|
|
38575
38581
|
var signer = new sam$com_dmarket_p2p_tracker_port_marketplace_Ed25519Signer$0(tmp_10);
|
|
38576
38582
|
this.g9_1 = 5;
|
|
38577
|
-
suspendResult = ownedBy(signer, platformEd25519Signer$slambda_2(this.
|
|
38583
|
+
suspendResult = ownedBy(signer, platformEd25519Signer$slambda_2(this.bbh_1, publicKey, null), this);
|
|
38578
38584
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38579
38585
|
return suspendResult;
|
|
38580
38586
|
}
|
|
@@ -38620,9 +38626,9 @@ function FetchSteamOfferCanceller$cancelOffer$slambda$lambda_0($this$submitForm)
|
|
|
38620
38626
|
return Unit_instance;
|
|
38621
38627
|
}
|
|
38622
38628
|
function FetchSteamOfferCanceller$cancelOffer$slambda(this$0, $url, $sessionId, resultContinuation) {
|
|
38623
|
-
this.
|
|
38624
|
-
this.
|
|
38625
|
-
this.
|
|
38629
|
+
this.obi_1 = this$0;
|
|
38630
|
+
this.pbi_1 = $url;
|
|
38631
|
+
this.qbi_1 = $sessionId;
|
|
38626
38632
|
CoroutineImpl.call(this, resultContinuation);
|
|
38627
38633
|
}
|
|
38628
38634
|
protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).g79 = function ($completion) {
|
|
@@ -38643,8 +38649,8 @@ protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).o9 = function () {
|
|
|
38643
38649
|
case 0:
|
|
38644
38650
|
this.h9_1 = 2;
|
|
38645
38651
|
this.g9_1 = 1;
|
|
38646
|
-
var tmp_0 = parameters(FetchSteamOfferCanceller$cancelOffer$slambda$lambda(this.
|
|
38647
|
-
suspendResult = submitForm(this.
|
|
38652
|
+
var tmp_0 = parameters(FetchSteamOfferCanceller$cancelOffer$slambda$lambda(this.qbi_1));
|
|
38653
|
+
suspendResult = submitForm(this.obi_1.rbi_1, this.pbi_1, tmp_0, VOID, FetchSteamOfferCanceller$cancelOffer$slambda$lambda_0, this);
|
|
38648
38654
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38649
38655
|
return suspendResult;
|
|
38650
38656
|
}
|
|
@@ -38667,7 +38673,7 @@ protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).o9 = function () {
|
|
|
38667
38673
|
while (true);
|
|
38668
38674
|
};
|
|
38669
38675
|
protoOf(FetchSteamOfferCanceller$cancelOffer$slambda).d31 = function (completion) {
|
|
38670
|
-
return new FetchSteamOfferCanceller$cancelOffer$slambda(this.
|
|
38676
|
+
return new FetchSteamOfferCanceller$cancelOffer$slambda(this.obi_1, this.pbi_1, this.qbi_1, completion);
|
|
38671
38677
|
};
|
|
38672
38678
|
function FetchSteamOfferCanceller$cancelOffer$slambda_0(this$0, $url, $sessionId, resultContinuation) {
|
|
38673
38679
|
var i = new FetchSteamOfferCanceller$cancelOffer$slambda(this$0, $url, $sessionId, resultContinuation);
|
|
@@ -38677,9 +38683,9 @@ function FetchSteamOfferCanceller$cancelOffer$slambda_0(this$0, $url, $sessionId
|
|
|
38677
38683
|
}
|
|
38678
38684
|
function $cancelOfferCOROUTINE$(_this__u8e3s4, credential, offerId, resultContinuation) {
|
|
38679
38685
|
CoroutineImpl.call(this, resultContinuation);
|
|
38680
|
-
this.
|
|
38681
|
-
this.
|
|
38682
|
-
this.
|
|
38686
|
+
this.bbj_1 = _this__u8e3s4;
|
|
38687
|
+
this.cbj_1 = credential;
|
|
38688
|
+
this.dbj_1 = offerId;
|
|
38683
38689
|
}
|
|
38684
38690
|
protoOf($cancelOfferCOROUTINE$).o9 = function () {
|
|
38685
38691
|
var suspendResult = this.i9_1;
|
|
@@ -38689,9 +38695,9 @@ protoOf($cancelOfferCOROUTINE$).o9 = function () {
|
|
|
38689
38695
|
switch (tmp) {
|
|
38690
38696
|
case 0:
|
|
38691
38697
|
this.h9_1 = 3;
|
|
38692
|
-
this.
|
|
38698
|
+
this.ebj_1 = this.bbj_1.sbi_1 + '/tradeoffer/' + _OfferId___get_value__impl__81k8oa(this.dbj_1) + '/cancel';
|
|
38693
38699
|
this.g9_1 = 1;
|
|
38694
|
-
suspendResult = steamSessionId(this.
|
|
38700
|
+
suspendResult = steamSessionId(this.bbj_1.rbi_1, this.bbj_1.sbi_1, this);
|
|
38695
38701
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38696
38702
|
return suspendResult;
|
|
38697
38703
|
}
|
|
@@ -38708,7 +38714,7 @@ protoOf($cancelOfferCOROUTINE$).o9 = function () {
|
|
|
38708
38714
|
|
|
38709
38715
|
var sessionId = tmp_0;
|
|
38710
38716
|
this.g9_1 = 2;
|
|
38711
|
-
suspendResult = steamCancelAnswer(FetchSteamOfferCanceller$cancelOffer$slambda_0(this.
|
|
38717
|
+
suspendResult = steamCancelAnswer(FetchSteamOfferCanceller$cancelOffer$slambda_0(this.bbj_1, this.ebj_1, sessionId, null), this);
|
|
38712
38718
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38713
38719
|
return suspendResult;
|
|
38714
38720
|
}
|
|
@@ -38732,8 +38738,8 @@ protoOf($cancelOfferCOROUTINE$).o9 = function () {
|
|
|
38732
38738
|
};
|
|
38733
38739
|
function FetchSteamOfferCanceller(httpClient, communityBaseUrl) {
|
|
38734
38740
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
38735
|
-
this.
|
|
38736
|
-
this.
|
|
38741
|
+
this.rbi_1 = httpClient;
|
|
38742
|
+
this.sbi_1 = communityBaseUrl;
|
|
38737
38743
|
}
|
|
38738
38744
|
protoOf(FetchSteamOfferCanceller).r6o = function (credential, offerId, $completion) {
|
|
38739
38745
|
var tmp = new $cancelOfferCOROUTINE$(this, credential, offerId, $completion);
|
|
@@ -38760,8 +38766,8 @@ function postCreate($this, url, sessionId, draft, $completion) {
|
|
|
38760
38766
|
return tmp.o9();
|
|
38761
38767
|
}
|
|
38762
38768
|
function Companion_43() {
|
|
38763
|
-
this.
|
|
38764
|
-
this.
|
|
38769
|
+
this.qbk_1 = 1;
|
|
38770
|
+
this.rbk_1 = 512;
|
|
38765
38771
|
}
|
|
38766
38772
|
var Companion_instance_47;
|
|
38767
38773
|
function Companion_getInstance_55() {
|
|
@@ -38779,9 +38785,9 @@ function FetchSteamOfferCreator$postCreate$lambda($this$submitForm) {
|
|
|
38779
38785
|
}
|
|
38780
38786
|
function $createOfferCOROUTINE$_0(_this__u8e3s4, credential, draft, resultContinuation) {
|
|
38781
38787
|
CoroutineImpl.call(this, resultContinuation);
|
|
38782
|
-
this.
|
|
38783
|
-
this.
|
|
38784
|
-
this.
|
|
38788
|
+
this.abl_1 = _this__u8e3s4;
|
|
38789
|
+
this.bbl_1 = credential;
|
|
38790
|
+
this.cbl_1 = draft;
|
|
38785
38791
|
}
|
|
38786
38792
|
protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
38787
38793
|
var suspendResult = this.i9_1;
|
|
@@ -38791,28 +38797,28 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38791
38797
|
switch (tmp) {
|
|
38792
38798
|
case 0:
|
|
38793
38799
|
this.h9_1 = 18;
|
|
38794
|
-
this.
|
|
38795
|
-
this.
|
|
38800
|
+
this.ebl_1 = this.abl_1.sbl_1;
|
|
38801
|
+
this.dbl_1 = null;
|
|
38796
38802
|
this.g9_1 = 1;
|
|
38797
|
-
suspendResult = this.
|
|
38803
|
+
suspendResult = this.ebl_1.c1t(this.dbl_1, this);
|
|
38798
38804
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38799
38805
|
return suspendResult;
|
|
38800
38806
|
}
|
|
38801
38807
|
|
|
38802
38808
|
continue $sm;
|
|
38803
38809
|
case 1:
|
|
38804
|
-
this.
|
|
38810
|
+
this.fbl_1 = Unit_instance;
|
|
38805
38811
|
this.g9_1 = 2;
|
|
38806
38812
|
continue $sm;
|
|
38807
38813
|
case 2:
|
|
38808
38814
|
this.h9_1 = 17;
|
|
38809
|
-
this.
|
|
38815
|
+
this.gbl_1 = Unit_instance;
|
|
38810
38816
|
this.g9_1 = 3;
|
|
38811
38817
|
continue $sm;
|
|
38812
38818
|
case 3:
|
|
38813
|
-
this.
|
|
38819
|
+
this.nbl_1 = this.abl_1.qbl_1 + '/tradeoffer/new/send';
|
|
38814
38820
|
this.g9_1 = 4;
|
|
38815
|
-
suspendResult = steamSessionId(this.
|
|
38821
|
+
suspendResult = steamSessionId(this.abl_1.pbl_1, this.abl_1.qbl_1, this);
|
|
38816
38822
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38817
38823
|
return suspendResult;
|
|
38818
38824
|
}
|
|
@@ -38821,20 +38827,20 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38821
38827
|
case 4:
|
|
38822
38828
|
var tmp0_elvis_lhs = suspendResult;
|
|
38823
38829
|
if (tmp0_elvis_lhs == null) {
|
|
38824
|
-
this.
|
|
38830
|
+
this.gbl_1 = new Failed('no Steam session cookie');
|
|
38825
38831
|
this.g9_1 = 15;
|
|
38826
38832
|
var tmp_0 = this;
|
|
38827
38833
|
continue $sm;
|
|
38828
38834
|
} else {
|
|
38829
|
-
this.
|
|
38835
|
+
this.obl_1 = tmp0_elvis_lhs;
|
|
38830
38836
|
this.g9_1 = 5;
|
|
38831
38837
|
continue $sm;
|
|
38832
38838
|
}
|
|
38833
38839
|
|
|
38834
38840
|
case 5:
|
|
38835
|
-
this.
|
|
38841
|
+
this.mbl_1 = this.obl_1;
|
|
38836
38842
|
this.g9_1 = 6;
|
|
38837
|
-
suspendResult = installAntiCsrfRule(this.
|
|
38843
|
+
suspendResult = installAntiCsrfRule(this.abl_1, this.cbl_1, this);
|
|
38838
38844
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38839
38845
|
return suspendResult;
|
|
38840
38846
|
}
|
|
@@ -38845,11 +38851,11 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38845
38851
|
continue $sm;
|
|
38846
38852
|
case 7:
|
|
38847
38853
|
this.h9_1 = 11;
|
|
38848
|
-
var this_0 = this.
|
|
38854
|
+
var this_0 = this.abl_1;
|
|
38849
38855
|
this.h9_1 = 9;
|
|
38850
|
-
this.
|
|
38856
|
+
this.lbl_1 = Companion_instance;
|
|
38851
38857
|
this.g9_1 = 8;
|
|
38852
|
-
suspendResult = postCreate(this_0, this.
|
|
38858
|
+
suspendResult = postCreate(this_0, this.nbl_1, this.mbl_1, this.cbl_1, this);
|
|
38853
38859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38854
38860
|
return suspendResult;
|
|
38855
38861
|
}
|
|
@@ -38858,8 +38864,8 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38858
38864
|
case 8:
|
|
38859
38865
|
var tmp2 = suspendResult;
|
|
38860
38866
|
var tmp_1 = this;
|
|
38861
|
-
this.
|
|
38862
|
-
tmp_1.
|
|
38867
|
+
this.lbl_1;
|
|
38868
|
+
tmp_1.kbl_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
38863
38869
|
this.h9_1 = 11;
|
|
38864
38870
|
this.g9_1 = 10;
|
|
38865
38871
|
continue $sm;
|
|
@@ -38869,7 +38875,7 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38869
38875
|
if (tmp_2 instanceof Error) {
|
|
38870
38876
|
var e = this.j9_1;
|
|
38871
38877
|
var tmp_3 = this;
|
|
38872
|
-
tmp_3.
|
|
38878
|
+
tmp_3.kbl_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
38873
38879
|
this.g9_1 = 10;
|
|
38874
38880
|
continue $sm;
|
|
38875
38881
|
} else {
|
|
@@ -38879,7 +38885,7 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38879
38885
|
case 10:
|
|
38880
38886
|
this.h9_1 = 11;
|
|
38881
38887
|
var tmp_4 = this;
|
|
38882
|
-
var this_1 = this.
|
|
38888
|
+
var this_1 = this.kbl_1;
|
|
38883
38889
|
var exception = Result__exceptionOrNull_impl_p6xea9(this_1);
|
|
38884
38890
|
var tmp_5;
|
|
38885
38891
|
if (exception == null) {
|
|
@@ -38888,33 +38894,33 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38888
38894
|
tmp_5 = new Failed(redactedSummary(exception));
|
|
38889
38895
|
}
|
|
38890
38896
|
|
|
38891
|
-
tmp_4.
|
|
38897
|
+
tmp_4.ibl_1 = tmp_5;
|
|
38892
38898
|
this.g9_1 = 13;
|
|
38893
38899
|
continue $sm;
|
|
38894
38900
|
case 11:
|
|
38895
38901
|
this.h9_1 = 17;
|
|
38896
|
-
this.
|
|
38902
|
+
this.jbl_1 = this.j9_1;
|
|
38897
38903
|
this.g9_1 = 12;
|
|
38898
|
-
suspendResult = removeAntiCsrfRule(this.
|
|
38904
|
+
suspendResult = removeAntiCsrfRule(this.abl_1, this);
|
|
38899
38905
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38900
38906
|
return suspendResult;
|
|
38901
38907
|
}
|
|
38902
38908
|
|
|
38903
38909
|
continue $sm;
|
|
38904
38910
|
case 12:
|
|
38905
|
-
throw this.
|
|
38911
|
+
throw this.jbl_1;
|
|
38906
38912
|
case 13:
|
|
38907
|
-
this.
|
|
38913
|
+
this.hbl_1 = this.ibl_1;
|
|
38908
38914
|
this.h9_1 = 17;
|
|
38909
38915
|
this.g9_1 = 14;
|
|
38910
|
-
suspendResult = removeAntiCsrfRule(this.
|
|
38916
|
+
suspendResult = removeAntiCsrfRule(this.abl_1, this);
|
|
38911
38917
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
38912
38918
|
return suspendResult;
|
|
38913
38919
|
}
|
|
38914
38920
|
|
|
38915
38921
|
continue $sm;
|
|
38916
38922
|
case 14:
|
|
38917
|
-
this.
|
|
38923
|
+
this.gbl_1 = this.hbl_1;
|
|
38918
38924
|
if (false) {
|
|
38919
38925
|
this.g9_1 = 3;
|
|
38920
38926
|
continue $sm;
|
|
@@ -38923,19 +38929,19 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38923
38929
|
this.g9_1 = 15;
|
|
38924
38930
|
continue $sm;
|
|
38925
38931
|
case 15:
|
|
38926
|
-
this.
|
|
38932
|
+
this.fbl_1 = this.gbl_1;
|
|
38927
38933
|
this.h9_1 = 18;
|
|
38928
38934
|
this.g9_1 = 16;
|
|
38929
38935
|
continue $sm;
|
|
38930
38936
|
case 16:
|
|
38931
|
-
var tmp_6 = this.
|
|
38937
|
+
var tmp_6 = this.fbl_1;
|
|
38932
38938
|
this.h9_1 = 18;
|
|
38933
|
-
this.
|
|
38939
|
+
this.ebl_1.o1s(this.dbl_1);
|
|
38934
38940
|
return tmp_6;
|
|
38935
38941
|
case 17:
|
|
38936
38942
|
this.h9_1 = 18;
|
|
38937
38943
|
var t = this.j9_1;
|
|
38938
|
-
this.
|
|
38944
|
+
this.ebl_1.o1s(this.dbl_1);
|
|
38939
38945
|
throw t;
|
|
38940
38946
|
case 18:
|
|
38941
38947
|
throw this.j9_1;
|
|
@@ -38953,8 +38959,8 @@ protoOf($createOfferCOROUTINE$_0).o9 = function () {
|
|
|
38953
38959
|
};
|
|
38954
38960
|
function $installAntiCsrfRuleCOROUTINE$(_this__u8e3s4, draft, resultContinuation) {
|
|
38955
38961
|
CoroutineImpl.call(this, resultContinuation);
|
|
38956
|
-
this.
|
|
38957
|
-
this.
|
|
38962
|
+
this.nbj_1 = _this__u8e3s4;
|
|
38963
|
+
this.obj_1 = draft;
|
|
38958
38964
|
}
|
|
38959
38965
|
protoOf($installAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
38960
38966
|
var suspendResult = this.i9_1;
|
|
@@ -38964,11 +38970,11 @@ protoOf($installAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
38964
38970
|
switch (tmp) {
|
|
38965
38971
|
case 0:
|
|
38966
38972
|
this.h9_1 = 3;
|
|
38967
|
-
var referer = SteamOfferWire_instance.a78(this.
|
|
38973
|
+
var referer = SteamOfferWire_instance.a78(this.nbj_1.qbl_1, this.obj_1);
|
|
38968
38974
|
var header = FetchSteamOfferCreator$installAntiCsrfRule$lambda;
|
|
38969
38975
|
var rule = {priority: 1, action: {type: 'modifyHeaders'}, condition: {}};
|
|
38970
38976
|
rule.id = 1;
|
|
38971
|
-
var this_0 = [header('referer', referer), header('origin', this.
|
|
38977
|
+
var this_0 = [header('referer', referer), header('origin', this.nbj_1.qbl_1)];
|
|
38972
38978
|
rule.action.requestHeaders = this_0;
|
|
38973
38979
|
rule.condition.urlFilter = '||steamcommunity.com/tradeoffer/new/send';
|
|
38974
38980
|
var this_1 = ['xmlhttprequest', 'other'];
|
|
@@ -38976,9 +38982,9 @@ protoOf($installAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
38976
38982
|
var update = {};
|
|
38977
38983
|
update.removeRuleIds = [1];
|
|
38978
38984
|
update.addRules = [rule];
|
|
38979
|
-
this.
|
|
38985
|
+
this.nbj_1;
|
|
38980
38986
|
this.h9_1 = 2;
|
|
38981
|
-
this.
|
|
38987
|
+
this.qbj_1 = Companion_instance;
|
|
38982
38988
|
this.g9_1 = 1;
|
|
38983
38989
|
var this_2 = webExtApi().declarativeNetRequest.updateSessionRules(update);
|
|
38984
38990
|
suspendResult = await_0(this_2, this);
|
|
@@ -38990,8 +38996,8 @@ protoOf($installAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
38990
38996
|
case 1:
|
|
38991
38997
|
var tmp2 = suspendResult;
|
|
38992
38998
|
var tmp_0 = this;
|
|
38993
|
-
this.
|
|
38994
|
-
tmp_0.
|
|
38999
|
+
this.qbj_1;
|
|
39000
|
+
tmp_0.pbj_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
38995
39001
|
this.h9_1 = 3;
|
|
38996
39002
|
this.g9_1 = 4;
|
|
38997
39003
|
continue $sm;
|
|
@@ -39001,7 +39007,7 @@ protoOf($installAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
39001
39007
|
if (tmp_1 instanceof Error) {
|
|
39002
39008
|
var e = this.j9_1;
|
|
39003
39009
|
var tmp_2 = this;
|
|
39004
|
-
tmp_2.
|
|
39010
|
+
tmp_2.pbj_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
39005
39011
|
this.g9_1 = 4;
|
|
39006
39012
|
continue $sm;
|
|
39007
39013
|
} else {
|
|
@@ -39027,7 +39033,7 @@ protoOf($installAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
39027
39033
|
};
|
|
39028
39034
|
function $removeAntiCsrfRuleCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
39029
39035
|
CoroutineImpl.call(this, resultContinuation);
|
|
39030
|
-
this.
|
|
39036
|
+
this.zbj_1 = _this__u8e3s4;
|
|
39031
39037
|
}
|
|
39032
39038
|
protoOf($removeAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
39033
39039
|
var suspendResult = this.i9_1;
|
|
@@ -39039,9 +39045,9 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
39039
39045
|
this.h9_1 = 3;
|
|
39040
39046
|
var update = {};
|
|
39041
39047
|
update.removeRuleIds = [1];
|
|
39042
|
-
this.
|
|
39048
|
+
this.zbj_1;
|
|
39043
39049
|
this.h9_1 = 2;
|
|
39044
|
-
this.
|
|
39050
|
+
this.bbk_1 = Companion_instance;
|
|
39045
39051
|
this.g9_1 = 1;
|
|
39046
39052
|
var this_0 = webExtApi().declarativeNetRequest.updateSessionRules(update);
|
|
39047
39053
|
suspendResult = await_0(this_0, this);
|
|
@@ -39053,8 +39059,8 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
39053
39059
|
case 1:
|
|
39054
39060
|
var tmp2 = suspendResult;
|
|
39055
39061
|
var tmp_0 = this;
|
|
39056
|
-
this.
|
|
39057
|
-
tmp_0.
|
|
39062
|
+
this.bbk_1;
|
|
39063
|
+
tmp_0.abk_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
39058
39064
|
this.h9_1 = 3;
|
|
39059
39065
|
this.g9_1 = 4;
|
|
39060
39066
|
continue $sm;
|
|
@@ -39064,7 +39070,7 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
39064
39070
|
if (tmp_1 instanceof Error) {
|
|
39065
39071
|
var e = this.j9_1;
|
|
39066
39072
|
var tmp_2 = this;
|
|
39067
|
-
tmp_2.
|
|
39073
|
+
tmp_2.abk_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
39068
39074
|
this.g9_1 = 4;
|
|
39069
39075
|
continue $sm;
|
|
39070
39076
|
} else {
|
|
@@ -39090,10 +39096,10 @@ protoOf($removeAntiCsrfRuleCOROUTINE$).o9 = function () {
|
|
|
39090
39096
|
};
|
|
39091
39097
|
function $postCreateCOROUTINE$(_this__u8e3s4, url, sessionId, draft, resultContinuation) {
|
|
39092
39098
|
CoroutineImpl.call(this, resultContinuation);
|
|
39093
|
-
this.
|
|
39094
|
-
this.
|
|
39095
|
-
this.
|
|
39096
|
-
this.
|
|
39099
|
+
this.kbk_1 = _this__u8e3s4;
|
|
39100
|
+
this.lbk_1 = url;
|
|
39101
|
+
this.mbk_1 = sessionId;
|
|
39102
|
+
this.nbk_1 = draft;
|
|
39097
39103
|
}
|
|
39098
39104
|
protoOf($postCreateCOROUTINE$).o9 = function () {
|
|
39099
39105
|
var suspendResult = this.i9_1;
|
|
@@ -39105,15 +39111,15 @@ protoOf($postCreateCOROUTINE$).o9 = function () {
|
|
|
39105
39111
|
this.h9_1 = 5;
|
|
39106
39112
|
this.h9_1 = 2;
|
|
39107
39113
|
this.g9_1 = 1;
|
|
39108
|
-
var tmp_0 = SteamOfferWire_instance.p78(this.
|
|
39109
|
-
suspendResult = submitForm(this.
|
|
39114
|
+
var tmp_0 = SteamOfferWire_instance.p78(this.mbk_1, this.nbk_1, this.kbk_1.rbl_1);
|
|
39115
|
+
suspendResult = submitForm(this.kbk_1.pbl_1, this.lbk_1, tmp_0, VOID, FetchSteamOfferCreator$postCreate$lambda, this);
|
|
39110
39116
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39111
39117
|
return suspendResult;
|
|
39112
39118
|
}
|
|
39113
39119
|
|
|
39114
39120
|
continue $sm;
|
|
39115
39121
|
case 1:
|
|
39116
|
-
this.
|
|
39122
|
+
this.pbk_1 = suspendResult;
|
|
39117
39123
|
this.h9_1 = 5;
|
|
39118
39124
|
this.g9_1 = 3;
|
|
39119
39125
|
continue $sm;
|
|
@@ -39130,8 +39136,8 @@ protoOf($postCreateCOROUTINE$).o9 = function () {
|
|
|
39130
39136
|
|
|
39131
39137
|
case 3:
|
|
39132
39138
|
this.h9_1 = 5;
|
|
39133
|
-
var response = this.
|
|
39134
|
-
this.
|
|
39139
|
+
var response = this.pbk_1;
|
|
39140
|
+
this.obk_1 = SteamOfferWire_instance;
|
|
39135
39141
|
this.g9_1 = 4;
|
|
39136
39142
|
suspendResult = bodyAsText(response, VOID, this);
|
|
39137
39143
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -39141,7 +39147,7 @@ protoOf($postCreateCOROUTINE$).o9 = function () {
|
|
|
39141
39147
|
continue $sm;
|
|
39142
39148
|
case 4:
|
|
39143
39149
|
var ARGUMENT = suspendResult;
|
|
39144
|
-
return this.
|
|
39150
|
+
return this.obk_1.q78(ARGUMENT);
|
|
39145
39151
|
case 5:
|
|
39146
39152
|
throw this.j9_1;
|
|
39147
39153
|
}
|
|
@@ -39159,10 +39165,10 @@ protoOf($postCreateCOROUTINE$).o9 = function () {
|
|
|
39159
39165
|
function FetchSteamOfferCreator(httpClient, communityBaseUrl, adapter) {
|
|
39160
39166
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
39161
39167
|
adapter = adapter === VOID ? new Cs2GameAdapter() : adapter;
|
|
39162
|
-
this.
|
|
39163
|
-
this.
|
|
39164
|
-
this.
|
|
39165
|
-
this.
|
|
39168
|
+
this.pbl_1 = httpClient;
|
|
39169
|
+
this.qbl_1 = communityBaseUrl;
|
|
39170
|
+
this.rbl_1 = adapter;
|
|
39171
|
+
this.sbl_1 = Mutex();
|
|
39166
39172
|
}
|
|
39167
39173
|
protoOf(FetchSteamOfferCreator).s6o = function (credential, draft, $completion) {
|
|
39168
39174
|
var tmp = new $createOfferCOROUTINE$_0(this, credential, draft, $completion);
|
|
@@ -39192,9 +39198,9 @@ function FetchSteamWebSessionGateway$postFormWithSession$lambda_0($this$submitFo
|
|
|
39192
39198
|
}
|
|
39193
39199
|
function $readCookieCOROUTINE$_0(_this__u8e3s4, domain, name, resultContinuation) {
|
|
39194
39200
|
CoroutineImpl.call(this, resultContinuation);
|
|
39195
|
-
this.
|
|
39196
|
-
this.
|
|
39197
|
-
this.
|
|
39201
|
+
this.bbm_1 = _this__u8e3s4;
|
|
39202
|
+
this.cbm_1 = domain;
|
|
39203
|
+
this.dbm_1 = name;
|
|
39198
39204
|
}
|
|
39199
39205
|
protoOf($readCookieCOROUTINE$_0).o9 = function () {
|
|
39200
39206
|
var suspendResult = this.i9_1;
|
|
@@ -39205,8 +39211,8 @@ protoOf($readCookieCOROUTINE$_0).o9 = function () {
|
|
|
39205
39211
|
case 0:
|
|
39206
39212
|
this.h9_1 = 2;
|
|
39207
39213
|
var details = {};
|
|
39208
|
-
details.url = 'https://' + this.
|
|
39209
|
-
details.name = this.
|
|
39214
|
+
details.url = 'https://' + this.cbm_1 + '/';
|
|
39215
|
+
details.name = this.dbm_1;
|
|
39210
39216
|
var api = webExtApi();
|
|
39211
39217
|
this.g9_1 = 1;
|
|
39212
39218
|
var this_0 = api.cookies.get(details);
|
|
@@ -39256,9 +39262,9 @@ protoOf($readCookieCOROUTINE$_0).o9 = function () {
|
|
|
39256
39262
|
};
|
|
39257
39263
|
function $postFormWithSessionCOROUTINE$(_this__u8e3s4, url, form, resultContinuation) {
|
|
39258
39264
|
CoroutineImpl.call(this, resultContinuation);
|
|
39259
|
-
this.
|
|
39260
|
-
this.
|
|
39261
|
-
this.
|
|
39265
|
+
this.mbm_1 = _this__u8e3s4;
|
|
39266
|
+
this.nbm_1 = url;
|
|
39267
|
+
this.obm_1 = form;
|
|
39262
39268
|
}
|
|
39263
39269
|
protoOf($postFormWithSessionCOROUTINE$).o9 = function () {
|
|
39264
39270
|
var suspendResult = this.i9_1;
|
|
@@ -39270,15 +39276,15 @@ protoOf($postFormWithSessionCOROUTINE$).o9 = function () {
|
|
|
39270
39276
|
this.h9_1 = 5;
|
|
39271
39277
|
this.h9_1 = 2;
|
|
39272
39278
|
this.g9_1 = 1;
|
|
39273
|
-
var tmp_0 = parameters(FetchSteamWebSessionGateway$postFormWithSession$lambda(this.
|
|
39274
|
-
suspendResult = submitForm(this.
|
|
39279
|
+
var tmp_0 = parameters(FetchSteamWebSessionGateway$postFormWithSession$lambda(this.obm_1));
|
|
39280
|
+
suspendResult = submitForm(this.mbm_1.qbm_1, this.nbm_1, tmp_0, VOID, FetchSteamWebSessionGateway$postFormWithSession$lambda_0, this);
|
|
39275
39281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39276
39282
|
return suspendResult;
|
|
39277
39283
|
}
|
|
39278
39284
|
|
|
39279
39285
|
continue $sm;
|
|
39280
39286
|
case 1:
|
|
39281
|
-
this.
|
|
39287
|
+
this.pbm_1 = suspendResult;
|
|
39282
39288
|
this.h9_1 = 5;
|
|
39283
39289
|
this.g9_1 = 3;
|
|
39284
39290
|
continue $sm;
|
|
@@ -39302,7 +39308,7 @@ protoOf($postFormWithSessionCOROUTINE$).o9 = function () {
|
|
|
39302
39308
|
|
|
39303
39309
|
case 3:
|
|
39304
39310
|
this.h9_1 = 5;
|
|
39305
|
-
var response = this.
|
|
39311
|
+
var response = this.pbm_1;
|
|
39306
39312
|
this.g9_1 = 4;
|
|
39307
39313
|
suspendResult = bodyAsText(response, VOID, this);
|
|
39308
39314
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -39327,7 +39333,7 @@ protoOf($postFormWithSessionCOROUTINE$).o9 = function () {
|
|
|
39327
39333
|
while (true);
|
|
39328
39334
|
};
|
|
39329
39335
|
function FetchSteamWebSessionGateway(httpClient) {
|
|
39330
|
-
this.
|
|
39336
|
+
this.qbm_1 = httpClient;
|
|
39331
39337
|
}
|
|
39332
39338
|
protoOf(FetchSteamWebSessionGateway).m80 = function (domain, name, $completion) {
|
|
39333
39339
|
var tmp = new $readCookieCOROUTINE$_0(this, domain, name, $completion);
|
|
@@ -39349,8 +39355,8 @@ function steamSessionId(_this__u8e3s4, communityBaseUrl, $completion) {
|
|
|
39349
39355
|
}
|
|
39350
39356
|
function $steamSessionIdCOROUTINE$(_this__u8e3s4, communityBaseUrl, resultContinuation) {
|
|
39351
39357
|
CoroutineImpl.call(this, resultContinuation);
|
|
39352
|
-
this.
|
|
39353
|
-
this.
|
|
39358
|
+
this.zbm_1 = _this__u8e3s4;
|
|
39359
|
+
this.abn_1 = communityBaseUrl;
|
|
39354
39360
|
}
|
|
39355
39361
|
protoOf($steamSessionIdCOROUTINE$).o9 = function () {
|
|
39356
39362
|
var suspendResult = this.i9_1;
|
|
@@ -39361,7 +39367,7 @@ protoOf($steamSessionIdCOROUTINE$).o9 = function () {
|
|
|
39361
39367
|
case 0:
|
|
39362
39368
|
this.h9_1 = 6;
|
|
39363
39369
|
this.g9_1 = 1;
|
|
39364
|
-
suspendResult = webExtCookieValue(this.
|
|
39370
|
+
suspendResult = webExtCookieValue(this.abn_1, 'sessionid', this);
|
|
39365
39371
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39366
39372
|
return suspendResult;
|
|
39367
39373
|
}
|
|
@@ -39376,8 +39382,8 @@ protoOf($steamSessionIdCOROUTINE$).o9 = function () {
|
|
|
39376
39382
|
}
|
|
39377
39383
|
|
|
39378
39384
|
this.h9_1 = 3;
|
|
39379
|
-
var tmp0 = this.
|
|
39380
|
-
var urlString = this.
|
|
39385
|
+
var tmp0 = this.zbm_1;
|
|
39386
|
+
var urlString = this.abn_1 + '/';
|
|
39381
39387
|
var this_0 = new HttpRequestBuilder();
|
|
39382
39388
|
url(this_0, urlString);
|
|
39383
39389
|
suppressResponseBodyCapture(this_0);
|
|
@@ -39390,7 +39396,7 @@ protoOf($steamSessionIdCOROUTINE$).o9 = function () {
|
|
|
39390
39396
|
|
|
39391
39397
|
continue $sm;
|
|
39392
39398
|
case 2:
|
|
39393
|
-
this.
|
|
39399
|
+
this.bbn_1 = suspendResult;
|
|
39394
39400
|
this.h9_1 = 6;
|
|
39395
39401
|
this.g9_1 = 4;
|
|
39396
39402
|
continue $sm;
|
|
@@ -39406,7 +39412,7 @@ protoOf($steamSessionIdCOROUTINE$).o9 = function () {
|
|
|
39406
39412
|
if (tmp_2 instanceof Error) {
|
|
39407
39413
|
var _unused_var__etf5q3 = this.j9_1;
|
|
39408
39414
|
var tmp_3 = this;
|
|
39409
|
-
tmp_3.
|
|
39415
|
+
tmp_3.bbn_1 = Unit_instance;
|
|
39410
39416
|
this.g9_1 = 4;
|
|
39411
39417
|
continue $sm;
|
|
39412
39418
|
} else {
|
|
@@ -39417,7 +39423,7 @@ protoOf($steamSessionIdCOROUTINE$).o9 = function () {
|
|
|
39417
39423
|
case 4:
|
|
39418
39424
|
this.h9_1 = 6;
|
|
39419
39425
|
this.g9_1 = 5;
|
|
39420
|
-
suspendResult = webExtCookieValue(this.
|
|
39426
|
+
suspendResult = webExtCookieValue(this.abn_1, 'sessionid', this);
|
|
39421
39427
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39422
39428
|
return suspendResult;
|
|
39423
39429
|
}
|
|
@@ -39441,10 +39447,10 @@ protoOf($steamSessionIdCOROUTINE$).o9 = function () {
|
|
|
39441
39447
|
};
|
|
39442
39448
|
function $proveReadCOROUTINE$_0(_this__u8e3s4, binding, kind, credential, resultContinuation) {
|
|
39443
39449
|
CoroutineImpl.call(this, resultContinuation);
|
|
39444
|
-
this.
|
|
39445
|
-
this.
|
|
39446
|
-
this.
|
|
39447
|
-
this.
|
|
39450
|
+
this.kbn_1 = _this__u8e3s4;
|
|
39451
|
+
this.lbn_1 = binding;
|
|
39452
|
+
this.mbn_1 = kind;
|
|
39453
|
+
this.nbn_1 = credential;
|
|
39448
39454
|
}
|
|
39449
39455
|
protoOf($proveReadCOROUTINE$_0).o9 = function () {
|
|
39450
39456
|
var suspendResult = this.i9_1;
|
|
@@ -39454,15 +39460,15 @@ protoOf($proveReadCOROUTINE$_0).o9 = function () {
|
|
|
39454
39460
|
switch (tmp) {
|
|
39455
39461
|
case 0:
|
|
39456
39462
|
this.h9_1 = 3;
|
|
39457
|
-
var request = notaryProofRequest(this.
|
|
39458
|
-
this.
|
|
39463
|
+
var request = notaryProofRequest(this.lbn_1, this.mbn_1, this.nbn_1.l65_1);
|
|
39464
|
+
this.pbn_1 = this.kbn_1.sbn_1;
|
|
39459
39465
|
var tmp_0 = this;
|
|
39460
39466
|
var this_0 = Default_getInstance_1();
|
|
39461
39467
|
var this_1 = this_0.y2b();
|
|
39462
39468
|
var this_2 = serializer(this_1, createKType(getKClass(NotaryProofRequest), arrayOf([]), false));
|
|
39463
|
-
tmp_0.
|
|
39469
|
+
tmp_0.obn_1 = this_0.c52(isInterface(this_2, KSerializer) ? this_2 : THROW_CCE(), request);
|
|
39464
39470
|
this.g9_1 = 1;
|
|
39465
|
-
suspendResult = this.
|
|
39471
|
+
suspendResult = this.kbn_1.rbn_1.t6b(this);
|
|
39466
39472
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39467
39473
|
return suspendResult;
|
|
39468
39474
|
}
|
|
@@ -39470,7 +39476,7 @@ protoOf($proveReadCOROUTINE$_0).o9 = function () {
|
|
|
39470
39476
|
continue $sm;
|
|
39471
39477
|
case 1:
|
|
39472
39478
|
var ARGUMENT = suspendResult;
|
|
39473
|
-
var ARGUMENT_0 = this.
|
|
39479
|
+
var ARGUMENT_0 = this.pbn_1(this.obn_1, ARGUMENT, this.nbn_1.k65_1);
|
|
39474
39480
|
this.g9_1 = 2;
|
|
39475
39481
|
suspendResult = await_0(ARGUMENT_0, this);
|
|
39476
39482
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -39480,7 +39486,7 @@ protoOf($proveReadCOROUTINE$_0).o9 = function () {
|
|
|
39480
39486
|
continue $sm;
|
|
39481
39487
|
case 2:
|
|
39482
39488
|
var payload = suspendResult;
|
|
39483
|
-
return new ProofSubmission(this.
|
|
39489
|
+
return new ProofSubmission(this.lbn_1.j67_1, payload);
|
|
39484
39490
|
case 3:
|
|
39485
39491
|
throw this.j9_1;
|
|
39486
39492
|
}
|
|
@@ -39496,13 +39502,13 @@ protoOf($proveReadCOROUTINE$_0).o9 = function () {
|
|
|
39496
39502
|
while (true);
|
|
39497
39503
|
};
|
|
39498
39504
|
function DelegatingNotaryProver(maxConcurrency, tokenProvider, delegate) {
|
|
39499
|
-
this.
|
|
39500
|
-
this.
|
|
39501
|
-
this.
|
|
39502
|
-
this.
|
|
39505
|
+
this.qbn_1 = maxConcurrency;
|
|
39506
|
+
this.rbn_1 = tokenProvider;
|
|
39507
|
+
this.sbn_1 = delegate;
|
|
39508
|
+
this.tbn_1 = 'tlsn';
|
|
39503
39509
|
}
|
|
39504
39510
|
protoOf(DelegatingNotaryProver).q6b = function () {
|
|
39505
|
-
return this.
|
|
39511
|
+
return this.tbn_1;
|
|
39506
39512
|
};
|
|
39507
39513
|
protoOf(DelegatingNotaryProver).r6b = function (binding, kind, credential, $completion) {
|
|
39508
39514
|
var tmp = new $proveReadCOROUTINE$_0(this, binding, kind, credential, $completion);
|
|
@@ -39518,13 +39524,13 @@ function runHostedProof(proof, config, host, now, onProgress, $completion) {
|
|
|
39518
39524
|
return tmp.o9();
|
|
39519
39525
|
}
|
|
39520
39526
|
function sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0(function_0) {
|
|
39521
|
-
this.
|
|
39527
|
+
this.hbo_1 = function_0;
|
|
39522
39528
|
}
|
|
39523
39529
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).t6b = function ($completion) {
|
|
39524
|
-
return this.
|
|
39530
|
+
return this.hbo_1($completion);
|
|
39525
39531
|
};
|
|
39526
39532
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).q3 = function () {
|
|
39527
|
-
return this.
|
|
39533
|
+
return this.hbo_1;
|
|
39528
39534
|
};
|
|
39529
39535
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0).equals = function (other) {
|
|
39530
39536
|
var tmp;
|
|
@@ -39589,11 +39595,11 @@ function runHostedProof$lambda($credential) {
|
|
|
39589
39595
|
}
|
|
39590
39596
|
function $runHostedProofCOROUTINE$(proof, config, host, now, onProgress, resultContinuation) {
|
|
39591
39597
|
CoroutineImpl.call(this, resultContinuation);
|
|
39592
|
-
this.
|
|
39593
|
-
this.
|
|
39594
|
-
this.
|
|
39595
|
-
this.
|
|
39596
|
-
this.
|
|
39598
|
+
this.cbo_1 = proof;
|
|
39599
|
+
this.dbo_1 = config;
|
|
39600
|
+
this.ebo_1 = host;
|
|
39601
|
+
this.fbo_1 = now;
|
|
39602
|
+
this.gbo_1 = onProgress;
|
|
39597
39603
|
}
|
|
39598
39604
|
protoOf($runHostedProofCOROUTINE$).o9 = function () {
|
|
39599
39605
|
var suspendResult = this.i9_1;
|
|
@@ -39603,7 +39609,7 @@ protoOf($runHostedProofCOROUTINE$).o9 = function () {
|
|
|
39603
39609
|
switch (tmp) {
|
|
39604
39610
|
case 0:
|
|
39605
39611
|
this.h9_1 = 2;
|
|
39606
|
-
var tmp0 = this.
|
|
39612
|
+
var tmp0 = this.ebo_1.sbo_1;
|
|
39607
39613
|
l$ret$1: do {
|
|
39608
39614
|
if (tmp0 == null) {
|
|
39609
39615
|
var message = 'a hosted proof signs its notary upgrade: WasmProverHost.notaryWebSocket is required';
|
|
@@ -39613,9 +39619,9 @@ protoOf($runHostedProofCOROUTINE$).o9 = function () {
|
|
|
39613
39619
|
}
|
|
39614
39620
|
}
|
|
39615
39621
|
while (false);
|
|
39616
|
-
var request = this.
|
|
39622
|
+
var request = this.cbo_1.qau_1;
|
|
39617
39623
|
var subject = toSubjectSteamId(request);
|
|
39618
|
-
var check = PushedSteamToken_getInstance().c65(this.
|
|
39624
|
+
var check = PushedSteamToken_getInstance().c65(this.cbo_1.rau_1, this.fbo_1);
|
|
39619
39625
|
var tmp_0;
|
|
39620
39626
|
if (check instanceof Accepted) {
|
|
39621
39627
|
tmp_0 = check.x64_1;
|
|
@@ -39636,11 +39642,11 @@ protoOf($runHostedProofCOROUTINE$).o9 = function () {
|
|
|
39636
39642
|
|
|
39637
39643
|
var tmp_1 = runHostedProof$slambda_0(null);
|
|
39638
39644
|
var tmp_2 = new sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0(tmp_1);
|
|
39639
|
-
var tmp_3 = new BundledWasmProverModule(this.
|
|
39640
|
-
var tmp_4 = new Cs2GameAdapter(this.
|
|
39641
|
-
var prover = new WasmNotaryProver(this.
|
|
39645
|
+
var tmp_3 = new BundledWasmProverModule(this.gbo_1, this.ebo_1);
|
|
39646
|
+
var tmp_4 = new Cs2GameAdapter(this.dbo_1.game);
|
|
39647
|
+
var prover = new WasmNotaryProver(this.dbo_1.notary, tmp_2, tmp_3, tmp_4, VOID, new HeaderSteamProofCookieSource(runHostedProof$lambda(credential), this.cbo_1.sau_1));
|
|
39642
39648
|
this.g9_1 = 1;
|
|
39643
|
-
suspendResult = prover.
|
|
39649
|
+
suspendResult = prover.ebp(toBinding(request), toKind(request), subject, this.cbo_1.rau_1, this);
|
|
39644
39650
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39645
39651
|
return suspendResult;
|
|
39646
39652
|
}
|
|
@@ -39664,11 +39670,11 @@ protoOf($runHostedProofCOROUTINE$).o9 = function () {
|
|
|
39664
39670
|
};
|
|
39665
39671
|
function $proveCOROUTINE$(_this__u8e3s4, binding, kind, subjectSteamId, steamAccessToken, resultContinuation) {
|
|
39666
39672
|
CoroutineImpl.call(this, resultContinuation);
|
|
39667
|
-
this.
|
|
39668
|
-
this.
|
|
39669
|
-
this.
|
|
39670
|
-
this.
|
|
39671
|
-
this.
|
|
39673
|
+
this.nbp_1 = _this__u8e3s4;
|
|
39674
|
+
this.obp_1 = binding;
|
|
39675
|
+
this.pbp_1 = kind;
|
|
39676
|
+
this.qbp_1 = subjectSteamId;
|
|
39677
|
+
this.rbp_1 = steamAccessToken;
|
|
39672
39678
|
}
|
|
39673
39679
|
protoOf($proveCOROUTINE$).o9 = function () {
|
|
39674
39680
|
var suspendResult = this.i9_1;
|
|
@@ -39678,45 +39684,45 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
39678
39684
|
switch (tmp) {
|
|
39679
39685
|
case 0:
|
|
39680
39686
|
this.h9_1 = 10;
|
|
39681
|
-
if (!this.
|
|
39682
|
-
var message = this.
|
|
39687
|
+
if (!this.nbp_1.vbo_1.y5k().k1(this.pbp_1)) {
|
|
39688
|
+
var message = this.pbp_1.toString() + ' is not in NotaryConfig.enabledReads, so no proof may be spent on it';
|
|
39683
39689
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
39684
39690
|
}
|
|
39685
39691
|
|
|
39686
|
-
this.
|
|
39692
|
+
this.sbp_1 = this.nbp_1.dbp_1;
|
|
39687
39693
|
this.g9_1 = 1;
|
|
39688
|
-
suspendResult = this.
|
|
39694
|
+
suspendResult = this.sbp_1.k1t(this);
|
|
39689
39695
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39690
39696
|
return suspendResult;
|
|
39691
39697
|
}
|
|
39692
39698
|
|
|
39693
39699
|
continue $sm;
|
|
39694
39700
|
case 1:
|
|
39695
|
-
this.
|
|
39701
|
+
this.tbp_1 = Unit_instance;
|
|
39696
39702
|
this.g9_1 = 2;
|
|
39697
39703
|
continue $sm;
|
|
39698
39704
|
case 2:
|
|
39699
39705
|
this.h9_1 = 9;
|
|
39700
39706
|
this.g9_1 = 3;
|
|
39701
|
-
suspendResult = this.
|
|
39707
|
+
suspendResult = this.nbp_1.wbo_1.t6b(this);
|
|
39702
39708
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39703
39709
|
return suspendResult;
|
|
39704
39710
|
}
|
|
39705
39711
|
|
|
39706
39712
|
continue $sm;
|
|
39707
39713
|
case 3:
|
|
39708
|
-
this.
|
|
39709
|
-
this.
|
|
39710
|
-
if (this.
|
|
39714
|
+
this.xbp_1 = suspendResult;
|
|
39715
|
+
this.wbp_1 = this.nbp_1.zbo_1.t68(this.pbp_1, this.obp_1, this.qbp_1, this.nbp_1.ybo_1);
|
|
39716
|
+
if (this.wbp_1.d68()) {
|
|
39711
39717
|
this.g9_1 = 4;
|
|
39712
|
-
suspendResult = this.
|
|
39718
|
+
suspendResult = this.nbp_1.abp_1.u6b(this);
|
|
39713
39719
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39714
39720
|
return suspendResult;
|
|
39715
39721
|
}
|
|
39716
39722
|
continue $sm;
|
|
39717
39723
|
} else {
|
|
39718
39724
|
var tmp_0 = this;
|
|
39719
|
-
tmp_0.
|
|
39725
|
+
tmp_0.ybp_1 = null;
|
|
39720
39726
|
this.g9_1 = 5;
|
|
39721
39727
|
continue $sm;
|
|
39722
39728
|
}
|
|
@@ -39727,7 +39733,7 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
39727
39733
|
var tmp$ret$0;
|
|
39728
39734
|
l$ret$1: do {
|
|
39729
39735
|
if (tmp0 == null) {
|
|
39730
|
-
var message_0 = this.
|
|
39736
|
+
var message_0 = this.pbp_1.toString() + ' is cookie-authenticated but there is no Steam web session on this device';
|
|
39731
39737
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
39732
39738
|
} else {
|
|
39733
39739
|
tmp$ret$0 = tmp0;
|
|
@@ -39735,20 +39741,20 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
39735
39741
|
}
|
|
39736
39742
|
}
|
|
39737
39743
|
while (false);
|
|
39738
|
-
tmp_1.
|
|
39744
|
+
tmp_1.ybp_1 = tmp$ret$0;
|
|
39739
39745
|
this.g9_1 = 5;
|
|
39740
39746
|
continue $sm;
|
|
39741
39747
|
case 5:
|
|
39742
|
-
this.
|
|
39748
|
+
this.vbp_1 = this.ybp_1;
|
|
39743
39749
|
var tmp_2 = this;
|
|
39744
39750
|
var tmp_3;
|
|
39745
|
-
if (this.
|
|
39746
|
-
var tmp0_safe_receiver = this.
|
|
39751
|
+
if (this.wbp_1.g68()) {
|
|
39752
|
+
var tmp0_safe_receiver = this.vbp_1;
|
|
39747
39753
|
var tmp0_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w6b_1;
|
|
39748
39754
|
var tmp$ret$2;
|
|
39749
39755
|
l$ret$3: do {
|
|
39750
39756
|
if (tmp0_0 == null) {
|
|
39751
|
-
var message_1 = this.
|
|
39757
|
+
var message_1 = this.pbp_1.toString() + ' needs the Steam sessionid and there is none';
|
|
39752
39758
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
39753
39759
|
} else {
|
|
39754
39760
|
tmp$ret$2 = tmp0_0;
|
|
@@ -39761,9 +39767,9 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
39761
39767
|
tmp_3 = null;
|
|
39762
39768
|
}
|
|
39763
39769
|
|
|
39764
|
-
tmp_2.
|
|
39770
|
+
tmp_2.ubp_1 = tmp_3;
|
|
39765
39771
|
this.g9_1 = 6;
|
|
39766
|
-
suspendResult = this.
|
|
39772
|
+
suspendResult = this.nbp_1.xbo_1.zbp(this.nbp_1.vbo_1.threadCount, this);
|
|
39767
39773
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39768
39774
|
return suspendResult;
|
|
39769
39775
|
}
|
|
@@ -39771,11 +39777,11 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
39771
39777
|
continue $sm;
|
|
39772
39778
|
case 6:
|
|
39773
39779
|
this.g9_1 = 7;
|
|
39774
|
-
var tmp_4 = ProvenSentBudget_instance.l68(this.
|
|
39775
|
-
var tmp1_elvis_lhs = this.
|
|
39776
|
-
var tmp_5 = tmp1_elvis_lhs == null ? this.
|
|
39777
|
-
var tmp2_safe_receiver = this.
|
|
39778
|
-
suspendResult = this.
|
|
39780
|
+
var tmp_4 = ProvenSentBudget_instance.l68(this.wbp_1, this.nbp_1.vbo_1, this.rbp_1.length);
|
|
39781
|
+
var tmp1_elvis_lhs = this.wbp_1.b68_1;
|
|
39782
|
+
var tmp_5 = tmp1_elvis_lhs == null ? this.nbp_1.vbo_1.maxRecvData : tmp1_elvis_lhs;
|
|
39783
|
+
var tmp2_safe_receiver = this.vbp_1;
|
|
39784
|
+
suspendResult = this.nbp_1.xbo_1.abq(new WasmProveRequest(this.nbp_1.vbo_1.notaryUrl, this.xbp_1, this.nbp_1.vbo_1.proxyBaseUrl, this.wbp_1, this.rbp_1, tmp_4, tmp_5, this.wbp_1.c68_1, this.nbp_1.vbo_1.maxRecvRecordsOnline, this.nbp_1.vbo_1.rootStorePem, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.v6b_1, this.ubp_1), this);
|
|
39779
39785
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39780
39786
|
return suspendResult;
|
|
39781
39787
|
}
|
|
@@ -39783,19 +39789,19 @@ protoOf($proveCOROUTINE$).o9 = function () {
|
|
|
39783
39789
|
continue $sm;
|
|
39784
39790
|
case 7:
|
|
39785
39791
|
var bytes = suspendResult;
|
|
39786
|
-
this.
|
|
39792
|
+
this.tbp_1 = new ProofSubmission(this.obp_1.j67_1, Default_getInstance_0().lk(bytes));
|
|
39787
39793
|
this.h9_1 = 10;
|
|
39788
39794
|
this.g9_1 = 8;
|
|
39789
39795
|
continue $sm;
|
|
39790
39796
|
case 8:
|
|
39791
|
-
var tmp_6 = this.
|
|
39797
|
+
var tmp_6 = this.tbp_1;
|
|
39792
39798
|
this.h9_1 = 10;
|
|
39793
|
-
this.
|
|
39799
|
+
this.sbp_1.e1t();
|
|
39794
39800
|
return tmp_6;
|
|
39795
39801
|
case 9:
|
|
39796
39802
|
this.h9_1 = 10;
|
|
39797
39803
|
var t = this.j9_1;
|
|
39798
|
-
this.
|
|
39804
|
+
this.sbp_1.e1t();
|
|
39799
39805
|
throw t;
|
|
39800
39806
|
case 10:
|
|
39801
39807
|
throw this.j9_1;
|
|
@@ -39815,23 +39821,23 @@ function WasmNotaryProver(config, tokenProvider, module_0, adapter, mapper, cook
|
|
|
39815
39821
|
adapter = adapter === VOID ? new Cs2GameAdapter() : adapter;
|
|
39816
39822
|
mapper = mapper === VOID ? new SteamProofReadMapper(config) : mapper;
|
|
39817
39823
|
cookies = cookies === VOID ? NoSteamProofCookieSource_instance : cookies;
|
|
39818
|
-
this.
|
|
39819
|
-
this.
|
|
39820
|
-
this.
|
|
39821
|
-
this.
|
|
39822
|
-
this.
|
|
39823
|
-
this.
|
|
39824
|
-
this.
|
|
39825
|
-
this.
|
|
39826
|
-
this.
|
|
39824
|
+
this.vbo_1 = config;
|
|
39825
|
+
this.wbo_1 = tokenProvider;
|
|
39826
|
+
this.xbo_1 = module_0;
|
|
39827
|
+
this.ybo_1 = adapter;
|
|
39828
|
+
this.zbo_1 = mapper;
|
|
39829
|
+
this.abp_1 = cookies;
|
|
39830
|
+
this.bbp_1 = this.vbo_1.maxConcurrency;
|
|
39831
|
+
this.cbp_1 = 'tlsn';
|
|
39832
|
+
this.dbp_1 = Semaphore(this.bbp_1);
|
|
39827
39833
|
}
|
|
39828
39834
|
protoOf(WasmNotaryProver).q6b = function () {
|
|
39829
|
-
return this.
|
|
39835
|
+
return this.cbp_1;
|
|
39830
39836
|
};
|
|
39831
39837
|
protoOf(WasmNotaryProver).r6b = function (binding, kind, credential, $completion) {
|
|
39832
|
-
return this.
|
|
39838
|
+
return this.ebp(binding, kind, credential.l65_1, credential.k65_1, $completion);
|
|
39833
39839
|
};
|
|
39834
|
-
protoOf(WasmNotaryProver).
|
|
39840
|
+
protoOf(WasmNotaryProver).ebp = function (binding, kind, subjectSteamId, steamAccessToken, $completion) {
|
|
39835
39841
|
var tmp = new $proveCOROUTINE$(this, binding, kind, subjectSteamId, steamAccessToken, $completion);
|
|
39836
39842
|
tmp.i9_1 = Unit_instance;
|
|
39837
39843
|
tmp.j9_1 = null;
|
|
@@ -39843,14 +39849,14 @@ function WasmProverHost(assetUrl, wasmModule, notaryWebSocket, connectTarget, on
|
|
|
39843
39849
|
notaryWebSocket = notaryWebSocket === VOID ? null : notaryWebSocket;
|
|
39844
39850
|
connectTarget = connectTarget === VOID ? null : connectTarget;
|
|
39845
39851
|
onTargetResponse = onTargetResponse === VOID ? null : onTargetResponse;
|
|
39846
|
-
this.
|
|
39847
|
-
this.
|
|
39848
|
-
this.
|
|
39849
|
-
this.
|
|
39850
|
-
this.
|
|
39852
|
+
this.qbo_1 = assetUrl;
|
|
39853
|
+
this.rbo_1 = wasmModule;
|
|
39854
|
+
this.sbo_1 = notaryWebSocket;
|
|
39855
|
+
this.tbo_1 = connectTarget;
|
|
39856
|
+
this.ubo_1 = onTargetResponse;
|
|
39851
39857
|
}
|
|
39852
39858
|
function assetUrl($this, path) {
|
|
39853
|
-
var tmp0_safe_receiver = $this.
|
|
39859
|
+
var tmp0_safe_receiver = $this.cbq_1.qbo_1;
|
|
39854
39860
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(path);
|
|
39855
39861
|
return tmp1_elvis_lhs == null ? extensionAssetUrl(path) : tmp1_elvis_lhs;
|
|
39856
39862
|
}
|
|
@@ -39861,8 +39867,8 @@ function connectNotary($this, request, $completion) {
|
|
|
39861
39867
|
return tmp.o9();
|
|
39862
39868
|
}
|
|
39863
39869
|
function connectTarget($this, request) {
|
|
39864
|
-
var serverName = request.
|
|
39865
|
-
var hosted = $this.
|
|
39870
|
+
var serverName = request.tbq_1.r67_1;
|
|
39871
|
+
var hosted = $this.cbq_1.tbo_1;
|
|
39866
39872
|
var tmp;
|
|
39867
39873
|
if (!(hosted == null)) {
|
|
39868
39874
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -39870,7 +39876,7 @@ function connectTarget($this, request) {
|
|
|
39870
39876
|
tmp = hosted(serverName, 443);
|
|
39871
39877
|
} else {
|
|
39872
39878
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
39873
|
-
tmp = $this.
|
|
39879
|
+
tmp = $this.dbq_1.connectProxy(request.sbq_1, serverName, 443);
|
|
39874
39880
|
}
|
|
39875
39881
|
return tmp;
|
|
39876
39882
|
}
|
|
@@ -39881,7 +39887,7 @@ function closeQuietly($this, channel, $completion) {
|
|
|
39881
39887
|
return tmp.o9();
|
|
39882
39888
|
}
|
|
39883
39889
|
function progressCallback($this) {
|
|
39884
|
-
var tmp0_safe_receiver = $this.
|
|
39890
|
+
var tmp0_safe_receiver = $this.bbq_1;
|
|
39885
39891
|
var tmp;
|
|
39886
39892
|
if (tmp0_safe_receiver == null) {
|
|
39887
39893
|
tmp = null;
|
|
@@ -39920,8 +39926,8 @@ function BundledWasmProverModule$progressCallback$lambda(this$0, $sink) {
|
|
|
39920
39926
|
}
|
|
39921
39927
|
function $initializeCOROUTINE$(_this__u8e3s4, threadCount, resultContinuation) {
|
|
39922
39928
|
CoroutineImpl.call(this, resultContinuation);
|
|
39923
|
-
this.
|
|
39924
|
-
this.
|
|
39929
|
+
this.wbr_1 = _this__u8e3s4;
|
|
39930
|
+
this.xbr_1 = threadCount;
|
|
39925
39931
|
}
|
|
39926
39932
|
protoOf($initializeCOROUTINE$).o9 = function () {
|
|
39927
39933
|
var suspendResult = this.i9_1;
|
|
@@ -39931,9 +39937,9 @@ protoOf($initializeCOROUTINE$).o9 = function () {
|
|
|
39931
39937
|
switch (tmp) {
|
|
39932
39938
|
case 0:
|
|
39933
39939
|
this.h9_1 = 7;
|
|
39934
|
-
if (this.
|
|
39940
|
+
if (this.wbr_1.ebq_1 == null) {
|
|
39935
39941
|
this.g9_1 = 1;
|
|
39936
|
-
suspendResult = await_0(importModule(assetUrl(this.
|
|
39942
|
+
suspendResult = await_0(importModule(assetUrl(this.wbr_1, 'pkg/client_wasm.js')), this);
|
|
39937
39943
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39938
39944
|
return suspendResult;
|
|
39939
39945
|
}
|
|
@@ -39944,9 +39950,9 @@ protoOf($initializeCOROUTINE$).o9 = function () {
|
|
|
39944
39950
|
}
|
|
39945
39951
|
|
|
39946
39952
|
case 1:
|
|
39947
|
-
this.
|
|
39953
|
+
this.ybr_1 = suspendResult;
|
|
39948
39954
|
this.g9_1 = 2;
|
|
39949
|
-
suspendResult = await_0(importModule(assetUrl(this.
|
|
39955
|
+
suspendResult = await_0(importModule(assetUrl(this.wbr_1, 'transport/dist/index.js')), this);
|
|
39950
39956
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39951
39957
|
return suspendResult;
|
|
39952
39958
|
}
|
|
@@ -39954,10 +39960,10 @@ protoOf($initializeCOROUTINE$).o9 = function () {
|
|
|
39954
39960
|
continue $sm;
|
|
39955
39961
|
case 2:
|
|
39956
39962
|
var ARGUMENT = suspendResult;
|
|
39957
|
-
this.
|
|
39958
|
-
var tmp0_safe_receiver = this.
|
|
39963
|
+
this.wbr_1.dbq_1 = ARGUMENT;
|
|
39964
|
+
var tmp0_safe_receiver = this.wbr_1.cbq_1.rbo_1;
|
|
39959
39965
|
if (tmp0_safe_receiver == null) {
|
|
39960
|
-
this.
|
|
39966
|
+
this.zbr_1 = null;
|
|
39961
39967
|
this.g9_1 = 4;
|
|
39962
39968
|
continue $sm;
|
|
39963
39969
|
} else {
|
|
@@ -39970,17 +39976,17 @@ protoOf($initializeCOROUTINE$).o9 = function () {
|
|
|
39970
39976
|
}
|
|
39971
39977
|
|
|
39972
39978
|
case 3:
|
|
39973
|
-
this.
|
|
39979
|
+
this.zbr_1 = suspendResult;
|
|
39974
39980
|
this.g9_1 = 4;
|
|
39975
39981
|
continue $sm;
|
|
39976
39982
|
case 4:
|
|
39977
|
-
var compiled = this.
|
|
39978
|
-
this.
|
|
39983
|
+
var compiled = this.zbr_1;
|
|
39984
|
+
this.wbr_1.ebq_1 = this.wbr_1.dbq_1.createProver(compiled == null ? this.ybr_1 : withCompiledModule(this.ybr_1, compiled));
|
|
39979
39985
|
this.g9_1 = 5;
|
|
39980
39986
|
continue $sm;
|
|
39981
39987
|
case 5:
|
|
39982
39988
|
this.g9_1 = 6;
|
|
39983
|
-
var this_0 = this.
|
|
39989
|
+
var this_0 = this.wbr_1.ebq_1.initialize(null, this.xbr_1);
|
|
39984
39990
|
suspendResult = await_0(this_0, this);
|
|
39985
39991
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
39986
39992
|
return suspendResult;
|
|
@@ -40005,8 +40011,8 @@ protoOf($initializeCOROUTINE$).o9 = function () {
|
|
|
40005
40011
|
};
|
|
40006
40012
|
function $proveCOROUTINE$_0(_this__u8e3s4, request, resultContinuation) {
|
|
40007
40013
|
CoroutineImpl.call(this, resultContinuation);
|
|
40008
|
-
this.
|
|
40009
|
-
this.
|
|
40014
|
+
this.ibs_1 = _this__u8e3s4;
|
|
40015
|
+
this.jbs_1 = request;
|
|
40010
40016
|
}
|
|
40011
40017
|
protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
40012
40018
|
var suspendResult = this.i9_1;
|
|
@@ -40016,15 +40022,15 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
40016
40022
|
switch (tmp) {
|
|
40017
40023
|
case 0:
|
|
40018
40024
|
this.h9_1 = 16;
|
|
40019
|
-
this.
|
|
40020
|
-
var tmp0_safe_receiver = this.
|
|
40025
|
+
this.obs_1 = this.jbs_1.tbq_1;
|
|
40026
|
+
var tmp0_safe_receiver = this.ibs_1.bbq_1;
|
|
40021
40027
|
if (tmp0_safe_receiver == null)
|
|
40022
40028
|
null;
|
|
40023
40029
|
else {
|
|
40024
|
-
var this_0 = this.
|
|
40030
|
+
var this_0 = this.ibs_1;
|
|
40025
40031
|
var tmp_0;
|
|
40026
40032
|
try {
|
|
40027
|
-
tmp0_safe_receiver(issuanceLine(this.
|
|
40033
|
+
tmp0_safe_receiver(issuanceLine(this.jbs_1, !(this_0.cbq_1.tbo_1 == null)));
|
|
40028
40034
|
tmp_0 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
40029
40035
|
} catch ($p) {
|
|
40030
40036
|
var tmp_1;
|
|
@@ -40041,7 +40047,7 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
40041
40047
|
|
|
40042
40048
|
this.h9_1 = 3;
|
|
40043
40049
|
this.g9_1 = 1;
|
|
40044
|
-
suspendResult = connectNotary(this.
|
|
40050
|
+
suspendResult = connectNotary(this.ibs_1, this.jbs_1, this);
|
|
40045
40051
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40046
40052
|
return suspendResult;
|
|
40047
40053
|
}
|
|
@@ -40057,7 +40063,7 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
40057
40063
|
|
|
40058
40064
|
continue $sm;
|
|
40059
40065
|
case 2:
|
|
40060
|
-
this.
|
|
40066
|
+
this.tbs_1 = suspendResult;
|
|
40061
40067
|
this.h9_1 = 16;
|
|
40062
40068
|
this.g9_1 = 4;
|
|
40063
40069
|
continue $sm;
|
|
@@ -40067,29 +40073,29 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
40067
40073
|
if (tmp_2 instanceof Error) {
|
|
40068
40074
|
var cause = this.j9_1;
|
|
40069
40075
|
var tmp_3 = this;
|
|
40070
|
-
throw IllegalStateException_init_$Create$_0('notary handshake failed for ' + this.
|
|
40076
|
+
throw IllegalStateException_init_$Create$_0('notary handshake failed for ' + this.jbs_1.qbq_1 + ' \u2014 the cause is not observable from a ' + 'browser (rejected credential, notary unavailable, or blocked upgrade all look alike)', cause);
|
|
40071
40077
|
} else {
|
|
40072
40078
|
throw this.j9_1;
|
|
40073
40079
|
}
|
|
40074
40080
|
|
|
40075
40081
|
case 4:
|
|
40076
40082
|
this.h9_1 = 16;
|
|
40077
|
-
this.
|
|
40078
|
-
this.
|
|
40083
|
+
this.lbs_1 = this.tbs_1;
|
|
40084
|
+
this.qbs_1 = Unit_instance;
|
|
40079
40085
|
this.g9_1 = 5;
|
|
40080
40086
|
continue $sm;
|
|
40081
40087
|
case 5:
|
|
40082
40088
|
this.h9_1 = 14;
|
|
40083
40089
|
var tmp_4 = this;
|
|
40084
|
-
var tmp1_onTrace = this.
|
|
40085
|
-
tmp_4.
|
|
40086
|
-
this.
|
|
40090
|
+
var tmp1_onTrace = this.ibs_1.bbq_1;
|
|
40091
|
+
tmp_4.nbs_1 = lazyTargetChannel(BundledWasmProverModule$prove$lambda(this.ibs_1, this.jbs_1), tmp1_onTrace);
|
|
40092
|
+
this.sbs_1 = Unit_instance;
|
|
40087
40093
|
this.g9_1 = 6;
|
|
40088
40094
|
continue $sm;
|
|
40089
40095
|
case 6:
|
|
40090
40096
|
this.h9_1 = 12;
|
|
40091
40097
|
this.g9_1 = 7;
|
|
40092
|
-
var this_1 = this.
|
|
40098
|
+
var this_1 = this.ibs_1.ebq_1.prove(this.lbs_1, this.nbs_1, issuanceConfig(this.jbs_1), httpRequest(this.jbs_1), progressCallback(this.ibs_1));
|
|
40093
40099
|
suspendResult = await_0(this_1, this);
|
|
40094
40100
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40095
40101
|
return suspendResult;
|
|
@@ -40098,7 +40104,7 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
40098
40104
|
continue $sm;
|
|
40099
40105
|
case 7:
|
|
40100
40106
|
var issued = suspendResult;
|
|
40101
|
-
var tmp2_safe_receiver = this.
|
|
40107
|
+
var tmp2_safe_receiver = this.ibs_1.cbq_1.ubo_1;
|
|
40102
40108
|
if (tmp2_safe_receiver == null)
|
|
40103
40109
|
null;
|
|
40104
40110
|
else {
|
|
@@ -40112,61 +40118,61 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
40112
40118
|
}
|
|
40113
40119
|
}
|
|
40114
40120
|
|
|
40115
|
-
this.
|
|
40121
|
+
this.sbs_1 = issued;
|
|
40116
40122
|
this.g9_1 = 8;
|
|
40117
40123
|
continue $sm;
|
|
40118
40124
|
case 8:
|
|
40119
|
-
this.
|
|
40125
|
+
this.rbs_1 = this.sbs_1;
|
|
40120
40126
|
this.h9_1 = 14;
|
|
40121
40127
|
this.g9_1 = 9;
|
|
40122
|
-
suspendResult = closeQuietly(this.
|
|
40128
|
+
suspendResult = closeQuietly(this.ibs_1, this.nbs_1, this);
|
|
40123
40129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40124
40130
|
return suspendResult;
|
|
40125
40131
|
}
|
|
40126
40132
|
|
|
40127
40133
|
continue $sm;
|
|
40128
40134
|
case 9:
|
|
40129
|
-
this.
|
|
40135
|
+
this.qbs_1 = this.rbs_1;
|
|
40130
40136
|
this.h9_1 = 16;
|
|
40131
40137
|
this.g9_1 = 10;
|
|
40132
40138
|
continue $sm;
|
|
40133
40139
|
case 10:
|
|
40134
|
-
this.
|
|
40140
|
+
this.pbs_1 = this.qbs_1;
|
|
40135
40141
|
this.h9_1 = 16;
|
|
40136
40142
|
this.g9_1 = 11;
|
|
40137
|
-
suspendResult = closeQuietly(this.
|
|
40143
|
+
suspendResult = closeQuietly(this.ibs_1, this.lbs_1, this);
|
|
40138
40144
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40139
40145
|
return suspendResult;
|
|
40140
40146
|
}
|
|
40141
40147
|
|
|
40142
40148
|
continue $sm;
|
|
40143
40149
|
case 11:
|
|
40144
|
-
var out = this.
|
|
40145
|
-
return asByteArray(this.
|
|
40150
|
+
var out = this.pbs_1;
|
|
40151
|
+
return asByteArray(this.ibs_1.ebq_1.present(out.attestation, out.secrets, revealPolicy(this.obs_1)));
|
|
40146
40152
|
case 12:
|
|
40147
40153
|
this.h9_1 = 14;
|
|
40148
|
-
this.
|
|
40154
|
+
this.mbs_1 = this.j9_1;
|
|
40149
40155
|
this.g9_1 = 13;
|
|
40150
|
-
suspendResult = closeQuietly(this.
|
|
40156
|
+
suspendResult = closeQuietly(this.ibs_1, this.nbs_1, this);
|
|
40151
40157
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40152
40158
|
return suspendResult;
|
|
40153
40159
|
}
|
|
40154
40160
|
|
|
40155
40161
|
continue $sm;
|
|
40156
40162
|
case 13:
|
|
40157
|
-
throw this.
|
|
40163
|
+
throw this.mbs_1;
|
|
40158
40164
|
case 14:
|
|
40159
40165
|
this.h9_1 = 16;
|
|
40160
|
-
this.
|
|
40166
|
+
this.kbs_1 = this.j9_1;
|
|
40161
40167
|
this.g9_1 = 15;
|
|
40162
|
-
suspendResult = closeQuietly(this.
|
|
40168
|
+
suspendResult = closeQuietly(this.ibs_1, this.lbs_1, this);
|
|
40163
40169
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40164
40170
|
return suspendResult;
|
|
40165
40171
|
}
|
|
40166
40172
|
|
|
40167
40173
|
continue $sm;
|
|
40168
40174
|
case 15:
|
|
40169
|
-
throw this.
|
|
40175
|
+
throw this.kbs_1;
|
|
40170
40176
|
case 16:
|
|
40171
40177
|
throw this.j9_1;
|
|
40172
40178
|
}
|
|
@@ -40183,8 +40189,8 @@ protoOf($proveCOROUTINE$_0).o9 = function () {
|
|
|
40183
40189
|
};
|
|
40184
40190
|
function $connectNotaryCOROUTINE$(_this__u8e3s4, request, resultContinuation) {
|
|
40185
40191
|
CoroutineImpl.call(this, resultContinuation);
|
|
40186
|
-
this.
|
|
40187
|
-
this.
|
|
40192
|
+
this.nbq_1 = _this__u8e3s4;
|
|
40193
|
+
this.obq_1 = request;
|
|
40188
40194
|
}
|
|
40189
40195
|
protoOf($connectNotaryCOROUTINE$).o9 = function () {
|
|
40190
40196
|
var suspendResult = this.i9_1;
|
|
@@ -40194,9 +40200,9 @@ protoOf($connectNotaryCOROUTINE$).o9 = function () {
|
|
|
40194
40200
|
switch (tmp) {
|
|
40195
40201
|
case 0:
|
|
40196
40202
|
this.h9_1 = 3;
|
|
40197
|
-
var tmp0_safe_receiver = this.
|
|
40203
|
+
var tmp0_safe_receiver = this.nbq_1.cbq_1.sbo_1;
|
|
40198
40204
|
if (tmp0_safe_receiver == null) {
|
|
40199
|
-
this.
|
|
40205
|
+
this.pbq_1 = null;
|
|
40200
40206
|
this.g9_1 = 2;
|
|
40201
40207
|
continue $sm;
|
|
40202
40208
|
} else {
|
|
@@ -40209,14 +40215,14 @@ protoOf($connectNotaryCOROUTINE$).o9 = function () {
|
|
|
40209
40215
|
}
|
|
40210
40216
|
|
|
40211
40217
|
case 1:
|
|
40212
|
-
this.
|
|
40218
|
+
this.pbq_1 = suspendResult;
|
|
40213
40219
|
this.g9_1 = 2;
|
|
40214
40220
|
continue $sm;
|
|
40215
40221
|
case 2:
|
|
40216
|
-
var tmp1_elvis_lhs = this.
|
|
40222
|
+
var tmp1_elvis_lhs = this.pbq_1;
|
|
40217
40223
|
var tmp_0;
|
|
40218
40224
|
if (tmp1_elvis_lhs == null) {
|
|
40219
|
-
return this.
|
|
40225
|
+
return this.nbq_1.dbq_1.connectNotary(this.obq_1.qbq_1, this.obq_1.rbq_1);
|
|
40220
40226
|
} else {
|
|
40221
40227
|
tmp_0 = tmp1_elvis_lhs;
|
|
40222
40228
|
}
|
|
@@ -40224,7 +40230,7 @@ protoOf($connectNotaryCOROUTINE$).o9 = function () {
|
|
|
40224
40230
|
var webSocket = tmp_0;
|
|
40225
40231
|
var options = {};
|
|
40226
40232
|
options.WebSocketImpl = webSocket;
|
|
40227
|
-
return this.
|
|
40233
|
+
return this.nbq_1.dbq_1.connectNotary(this.obq_1.qbq_1, this.obq_1.rbq_1, options);
|
|
40228
40234
|
case 3:
|
|
40229
40235
|
throw this.j9_1;
|
|
40230
40236
|
}
|
|
@@ -40241,8 +40247,8 @@ protoOf($connectNotaryCOROUTINE$).o9 = function () {
|
|
|
40241
40247
|
};
|
|
40242
40248
|
function $closeQuietlyCOROUTINE$(_this__u8e3s4, channel, resultContinuation) {
|
|
40243
40249
|
CoroutineImpl.call(this, resultContinuation);
|
|
40244
|
-
this.
|
|
40245
|
-
this.
|
|
40250
|
+
this.kbr_1 = _this__u8e3s4;
|
|
40251
|
+
this.lbr_1 = channel;
|
|
40246
40252
|
}
|
|
40247
40253
|
protoOf($closeQuietlyCOROUTINE$).o9 = function () {
|
|
40248
40254
|
var suspendResult = this.i9_1;
|
|
@@ -40252,11 +40258,11 @@ protoOf($closeQuietlyCOROUTINE$).o9 = function () {
|
|
|
40252
40258
|
switch (tmp) {
|
|
40253
40259
|
case 0:
|
|
40254
40260
|
this.h9_1 = 3;
|
|
40255
|
-
this.
|
|
40261
|
+
this.kbr_1;
|
|
40256
40262
|
this.h9_1 = 2;
|
|
40257
|
-
this.
|
|
40263
|
+
this.nbr_1 = Companion_instance;
|
|
40258
40264
|
this.g9_1 = 1;
|
|
40259
|
-
var this_0 = this.
|
|
40265
|
+
var this_0 = this.lbr_1.close();
|
|
40260
40266
|
suspendResult = await_0(this_0, this);
|
|
40261
40267
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40262
40268
|
return suspendResult;
|
|
@@ -40266,8 +40272,8 @@ protoOf($closeQuietlyCOROUTINE$).o9 = function () {
|
|
|
40266
40272
|
case 1:
|
|
40267
40273
|
var tmp2 = suspendResult;
|
|
40268
40274
|
var tmp_0 = this;
|
|
40269
|
-
this.
|
|
40270
|
-
tmp_0.
|
|
40275
|
+
this.nbr_1;
|
|
40276
|
+
tmp_0.mbr_1 = _Result___init__impl__xyqfz8(tmp2);
|
|
40271
40277
|
this.h9_1 = 3;
|
|
40272
40278
|
this.g9_1 = 4;
|
|
40273
40279
|
continue $sm;
|
|
@@ -40277,7 +40283,7 @@ protoOf($closeQuietlyCOROUTINE$).o9 = function () {
|
|
|
40277
40283
|
if (tmp_1 instanceof Error) {
|
|
40278
40284
|
var e = this.j9_1;
|
|
40279
40285
|
var tmp_2 = this;
|
|
40280
|
-
tmp_2.
|
|
40286
|
+
tmp_2.mbr_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
40281
40287
|
this.g9_1 = 4;
|
|
40282
40288
|
continue $sm;
|
|
40283
40289
|
} else {
|
|
@@ -40304,18 +40310,18 @@ protoOf($closeQuietlyCOROUTINE$).o9 = function () {
|
|
|
40304
40310
|
function BundledWasmProverModule(onProgress, host) {
|
|
40305
40311
|
onProgress = onProgress === VOID ? null : onProgress;
|
|
40306
40312
|
host = host === VOID ? new WasmProverHost() : host;
|
|
40307
|
-
this.
|
|
40308
|
-
this.
|
|
40309
|
-
this.cbq_1 = null;
|
|
40313
|
+
this.bbq_1 = onProgress;
|
|
40314
|
+
this.cbq_1 = host;
|
|
40310
40315
|
this.dbq_1 = null;
|
|
40316
|
+
this.ebq_1 = null;
|
|
40311
40317
|
}
|
|
40312
|
-
protoOf(BundledWasmProverModule).
|
|
40318
|
+
protoOf(BundledWasmProverModule).zbp = function (threadCount, $completion) {
|
|
40313
40319
|
var tmp = new $initializeCOROUTINE$(this, threadCount, $completion);
|
|
40314
40320
|
tmp.i9_1 = Unit_instance;
|
|
40315
40321
|
tmp.j9_1 = null;
|
|
40316
40322
|
return tmp.o9();
|
|
40317
40323
|
};
|
|
40318
|
-
protoOf(BundledWasmProverModule).
|
|
40324
|
+
protoOf(BundledWasmProverModule).abq = function (request, $completion) {
|
|
40319
40325
|
var tmp = new $proveCOROUTINE$_0(this, request, $completion);
|
|
40320
40326
|
tmp.i9_1 = Unit_instance;
|
|
40321
40327
|
tmp.j9_1 = null;
|
|
@@ -40326,24 +40332,24 @@ function WasmProveRequest(notaryUrl, notaryToken, proxyBaseUrl, spec, steamAcces
|
|
|
40326
40332
|
rootStorePem = rootStorePem === VOID ? null : rootStorePem;
|
|
40327
40333
|
steamSessionCookie = steamSessionCookie === VOID ? null : steamSessionCookie;
|
|
40328
40334
|
steamSessionId = steamSessionId === VOID ? null : steamSessionId;
|
|
40329
|
-
this.
|
|
40330
|
-
this.
|
|
40331
|
-
this.
|
|
40332
|
-
this.
|
|
40333
|
-
this.
|
|
40334
|
-
this.
|
|
40335
|
-
this.
|
|
40336
|
-
this.
|
|
40337
|
-
this.
|
|
40338
|
-
this.
|
|
40339
|
-
this.
|
|
40340
|
-
this.
|
|
40335
|
+
this.qbq_1 = notaryUrl;
|
|
40336
|
+
this.rbq_1 = notaryToken;
|
|
40337
|
+
this.sbq_1 = proxyBaseUrl;
|
|
40338
|
+
this.tbq_1 = spec;
|
|
40339
|
+
this.ubq_1 = steamAccessToken;
|
|
40340
|
+
this.vbq_1 = maxSentData;
|
|
40341
|
+
this.wbq_1 = maxRecvData;
|
|
40342
|
+
this.xbq_1 = maxRecvDataOnline;
|
|
40343
|
+
this.ybq_1 = maxRecvRecordsOnline;
|
|
40344
|
+
this.zbq_1 = rootStorePem;
|
|
40345
|
+
this.abr_1 = steamSessionCookie;
|
|
40346
|
+
this.bbr_1 = steamSessionId;
|
|
40341
40347
|
}
|
|
40342
40348
|
protoOf(WasmProveRequest).toString = function () {
|
|
40343
|
-
var tmp = 'WasmProveRequest(notaryUrl=' + this.
|
|
40344
|
-
var tmp_0 = 'spec=' + this.
|
|
40345
|
-
var tmp_1 = 'maxRecvDataOnline=' + this.
|
|
40346
|
-
var tmp0_safe_receiver = this.
|
|
40349
|
+
var tmp = 'WasmProveRequest(notaryUrl=' + this.qbq_1 + ', notaryToken=<redacted>, proxyBaseUrl=' + this.sbq_1 + ', ';
|
|
40350
|
+
var tmp_0 = 'spec=' + this.tbq_1.toString() + ', steamAccessToken=<redacted>, maxSentData=' + this.vbq_1 + ', maxRecvData=' + this.wbq_1 + ', ';
|
|
40351
|
+
var tmp_1 = 'maxRecvDataOnline=' + this.xbq_1 + ', maxRecvRecordsOnline=' + this.ybq_1 + ', ';
|
|
40352
|
+
var tmp0_safe_receiver = this.zbq_1;
|
|
40347
40353
|
var tmp_2;
|
|
40348
40354
|
if (tmp0_safe_receiver == null) {
|
|
40349
40355
|
tmp_2 = null;
|
|
@@ -40353,7 +40359,7 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
40353
40359
|
}
|
|
40354
40360
|
var tmp_3 = 'rootStorePem=' + tmp_2 + ', ';
|
|
40355
40361
|
var tmp_4;
|
|
40356
|
-
if (this.
|
|
40362
|
+
if (this.abr_1 == null) {
|
|
40357
40363
|
tmp_4 = null;
|
|
40358
40364
|
} else {
|
|
40359
40365
|
// Inline function 'kotlin.let' call
|
|
@@ -40361,7 +40367,7 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
40361
40367
|
}
|
|
40362
40368
|
var tmp_5 = 'steamSessionCookie=' + tmp_4 + ', ';
|
|
40363
40369
|
var tmp_6;
|
|
40364
|
-
if (this.
|
|
40370
|
+
if (this.bbr_1 == null) {
|
|
40365
40371
|
tmp_6 = null;
|
|
40366
40372
|
} else {
|
|
40367
40373
|
// Inline function 'kotlin.let' call
|
|
@@ -40370,18 +40376,18 @@ protoOf(WasmProveRequest).toString = function () {
|
|
|
40370
40376
|
return tmp + tmp_0 + tmp_1 + tmp_3 + tmp_5 + ('steamSessionId=' + tmp_6 + ')');
|
|
40371
40377
|
};
|
|
40372
40378
|
protoOf(WasmProveRequest).hashCode = function () {
|
|
40373
|
-
var result = getStringHashCode(this.
|
|
40374
|
-
result = imul(result, 31) + getStringHashCode(this.qbq_1) | 0;
|
|
40379
|
+
var result = getStringHashCode(this.qbq_1);
|
|
40375
40380
|
result = imul(result, 31) + getStringHashCode(this.rbq_1) | 0;
|
|
40376
|
-
result = imul(result, 31) + this.sbq_1
|
|
40377
|
-
result = imul(result, 31) +
|
|
40378
|
-
result = imul(result, 31) + this.ubq_1 | 0;
|
|
40381
|
+
result = imul(result, 31) + getStringHashCode(this.sbq_1) | 0;
|
|
40382
|
+
result = imul(result, 31) + this.tbq_1.hashCode() | 0;
|
|
40383
|
+
result = imul(result, 31) + getStringHashCode(this.ubq_1) | 0;
|
|
40379
40384
|
result = imul(result, 31) + this.vbq_1 | 0;
|
|
40380
40385
|
result = imul(result, 31) + this.wbq_1 | 0;
|
|
40381
|
-
result = imul(result, 31) +
|
|
40382
|
-
result = imul(result, 31) + (this.ybq_1 == null ? 0 :
|
|
40386
|
+
result = imul(result, 31) + this.xbq_1 | 0;
|
|
40387
|
+
result = imul(result, 31) + (this.ybq_1 == null ? 0 : this.ybq_1) | 0;
|
|
40383
40388
|
result = imul(result, 31) + (this.zbq_1 == null ? 0 : getStringHashCode(this.zbq_1)) | 0;
|
|
40384
40389
|
result = imul(result, 31) + (this.abr_1 == null ? 0 : getStringHashCode(this.abr_1)) | 0;
|
|
40390
|
+
result = imul(result, 31) + (this.bbr_1 == null ? 0 : getStringHashCode(this.bbr_1)) | 0;
|
|
40385
40391
|
return result;
|
|
40386
40392
|
};
|
|
40387
40393
|
protoOf(WasmProveRequest).equals = function (other) {
|
|
@@ -40389,15 +40395,13 @@ protoOf(WasmProveRequest).equals = function (other) {
|
|
|
40389
40395
|
return true;
|
|
40390
40396
|
if (!(other instanceof WasmProveRequest))
|
|
40391
40397
|
return false;
|
|
40392
|
-
if (!(this.pbq_1 === other.pbq_1))
|
|
40393
|
-
return false;
|
|
40394
40398
|
if (!(this.qbq_1 === other.qbq_1))
|
|
40395
40399
|
return false;
|
|
40396
40400
|
if (!(this.rbq_1 === other.rbq_1))
|
|
40397
40401
|
return false;
|
|
40398
|
-
if (!this.sbq_1
|
|
40402
|
+
if (!(this.sbq_1 === other.sbq_1))
|
|
40399
40403
|
return false;
|
|
40400
|
-
if (!
|
|
40404
|
+
if (!this.tbq_1.equals(other.tbq_1))
|
|
40401
40405
|
return false;
|
|
40402
40406
|
if (!(this.ubq_1 === other.ubq_1))
|
|
40403
40407
|
return false;
|
|
@@ -40405,7 +40409,7 @@ protoOf(WasmProveRequest).equals = function (other) {
|
|
|
40405
40409
|
return false;
|
|
40406
40410
|
if (!(this.wbq_1 === other.wbq_1))
|
|
40407
40411
|
return false;
|
|
40408
|
-
if (!(this.xbq_1
|
|
40412
|
+
if (!(this.xbq_1 === other.xbq_1))
|
|
40409
40413
|
return false;
|
|
40410
40414
|
if (!(this.ybq_1 == other.ybq_1))
|
|
40411
40415
|
return false;
|
|
@@ -40413,6 +40417,8 @@ protoOf(WasmProveRequest).equals = function (other) {
|
|
|
40413
40417
|
return false;
|
|
40414
40418
|
if (!(this.abr_1 == other.abr_1))
|
|
40415
40419
|
return false;
|
|
40420
|
+
if (!(this.bbr_1 == other.bbr_1))
|
|
40421
|
+
return false;
|
|
40416
40422
|
return true;
|
|
40417
40423
|
};
|
|
40418
40424
|
function importModule(url) {
|
|
@@ -40430,13 +40436,13 @@ function issuanceLine(request, hostTarget) {
|
|
|
40430
40436
|
// Inline function 'kotlin.text.buildString' call
|
|
40431
40437
|
// Inline function 'kotlin.apply' call
|
|
40432
40438
|
var this_0 = StringBuilder_init_$Create$();
|
|
40433
|
-
this_0.q('issuance serverName=').q(request.
|
|
40439
|
+
this_0.q('issuance serverName=').q(request.tbq_1.r67_1);
|
|
40434
40440
|
if (hostTarget)
|
|
40435
40441
|
this_0.q(' target=host');
|
|
40436
40442
|
else
|
|
40437
|
-
this_0.q(' proxy=').q(request.
|
|
40443
|
+
this_0.q(' proxy=').q(request.sbq_1);
|
|
40438
40444
|
var tmp = this_0.q(' rootStore=');
|
|
40439
|
-
var tmp0_safe_receiver = request.
|
|
40445
|
+
var tmp0_safe_receiver = request.zbq_1;
|
|
40440
40446
|
var tmp_0;
|
|
40441
40447
|
if (tmp0_safe_receiver == null) {
|
|
40442
40448
|
tmp_0 = null;
|
|
@@ -40446,27 +40452,27 @@ function issuanceLine(request, hostTarget) {
|
|
|
40446
40452
|
}
|
|
40447
40453
|
var tmp1_elvis_lhs = tmp_0;
|
|
40448
40454
|
tmp.q(tmp1_elvis_lhs == null ? 'mozilla' : tmp1_elvis_lhs);
|
|
40449
|
-
this_0.q(' maxSent=').xc(request.
|
|
40450
|
-
this_0.q(' maxRecv=').xc(request.
|
|
40451
|
-
this_0.q(' maxRecvOnline=').xc(request.
|
|
40455
|
+
this_0.q(' maxSent=').xc(request.vbq_1);
|
|
40456
|
+
this_0.q(' maxRecv=').xc(request.wbq_1);
|
|
40457
|
+
this_0.q(' maxRecvOnline=').xc(request.xbq_1);
|
|
40452
40458
|
var tmp_1 = this_0.q(' maxRecvRecordsOnline=');
|
|
40453
|
-
var tmp2_elvis_lhs = request.
|
|
40459
|
+
var tmp2_elvis_lhs = request.ybq_1;
|
|
40454
40460
|
tmp_1.w(tmp2_elvis_lhs == null ? 'default' : tmp2_elvis_lhs);
|
|
40455
|
-
this_0.q(' tokenSlot=').q(request.
|
|
40456
|
-
if (request.
|
|
40457
|
-
this_0.q(' cookieSlot=').q(!(request.
|
|
40461
|
+
this_0.q(' tokenSlot=').q(request.tbq_1.h68() ? 'present' : 'MISSING');
|
|
40462
|
+
if (request.tbq_1.d68()) {
|
|
40463
|
+
this_0.q(' cookieSlot=').q(!(request.abr_1 == null) ? 'filled' : 'MISSING');
|
|
40458
40464
|
}
|
|
40459
|
-
if (request.
|
|
40460
|
-
this_0.q(' sessionIdSlot=').q(!(request.
|
|
40465
|
+
if (request.tbq_1.g68()) {
|
|
40466
|
+
this_0.q(' sessionIdSlot=').q(!(request.bbr_1 == null) ? 'filled' : 'MISSING');
|
|
40461
40467
|
}
|
|
40462
|
-
var tmp3_safe_receiver = request.
|
|
40468
|
+
var tmp3_safe_receiver = request.tbq_1.z67_1;
|
|
40463
40469
|
if (tmp3_safe_receiver == null)
|
|
40464
40470
|
null;
|
|
40465
40471
|
else {
|
|
40466
40472
|
// Inline function 'kotlin.let' call
|
|
40467
40473
|
this_0.q(' bodyBytes=').xc(tmp3_safe_receiver.length);
|
|
40468
40474
|
}
|
|
40469
|
-
this_0.q(' ').q(request.
|
|
40475
|
+
this_0.q(' ').q(request.tbq_1.s67_1).q(' ').q(request.tbq_1.t67_1);
|
|
40470
40476
|
return this_0.toString();
|
|
40471
40477
|
}
|
|
40472
40478
|
function lazyTargetChannel(connect, onTrace) {
|
|
@@ -40513,21 +40519,21 @@ function lazyTargetChannel(connect, onTrace) {
|
|
|
40513
40519
|
}
|
|
40514
40520
|
function issuanceConfig(request) {
|
|
40515
40521
|
var issuance = {};
|
|
40516
|
-
issuance.serverName = request.
|
|
40517
|
-
issuance.maxSentData = request.
|
|
40518
|
-
issuance.maxRecvData = request.
|
|
40519
|
-
var tmp0 = request.
|
|
40522
|
+
issuance.serverName = request.tbq_1.r67_1;
|
|
40523
|
+
issuance.maxSentData = request.vbq_1;
|
|
40524
|
+
issuance.maxRecvData = request.wbq_1;
|
|
40525
|
+
var tmp0 = request.xbq_1;
|
|
40520
40526
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
40521
|
-
var b = request.
|
|
40527
|
+
var b = request.wbq_1;
|
|
40522
40528
|
issuance.maxRecvDataOnline = Math.min(tmp0, b);
|
|
40523
|
-
var tmp0_safe_receiver = request.
|
|
40529
|
+
var tmp0_safe_receiver = request.ybq_1;
|
|
40524
40530
|
if (tmp0_safe_receiver == null)
|
|
40525
40531
|
null;
|
|
40526
40532
|
else {
|
|
40527
40533
|
// Inline function 'kotlin.let' call
|
|
40528
40534
|
issuance.maxRecvRecordsOnline = tmp0_safe_receiver;
|
|
40529
40535
|
}
|
|
40530
|
-
var tmp1_safe_receiver = request.
|
|
40536
|
+
var tmp1_safe_receiver = request.zbq_1;
|
|
40531
40537
|
if (tmp1_safe_receiver == null)
|
|
40532
40538
|
null;
|
|
40533
40539
|
else {
|
|
@@ -40539,10 +40545,10 @@ function issuanceConfig(request) {
|
|
|
40539
40545
|
return issuance;
|
|
40540
40546
|
}
|
|
40541
40547
|
function httpRequest(request) {
|
|
40542
|
-
var spec = request.
|
|
40548
|
+
var spec = request.tbq_1;
|
|
40543
40549
|
var httpRequest = {};
|
|
40544
40550
|
httpRequest.method = spec.s67_1;
|
|
40545
|
-
httpRequest.uri = replace(spec.t67_1, '{token}', request.
|
|
40551
|
+
httpRequest.uri = replace(spec.t67_1, '{token}', request.ubq_1);
|
|
40546
40552
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
40547
40553
|
if (!spec.y67_1.r()) {
|
|
40548
40554
|
var headers = [];
|
|
@@ -40703,14 +40709,14 @@ function progressLine(event) {
|
|
|
40703
40709
|
}
|
|
40704
40710
|
function fillCredentials(_this__u8e3s4, request) {
|
|
40705
40711
|
var filled = _this__u8e3s4;
|
|
40706
|
-
var tmp0_safe_receiver = request.
|
|
40712
|
+
var tmp0_safe_receiver = request.abr_1;
|
|
40707
40713
|
if (tmp0_safe_receiver == null)
|
|
40708
40714
|
null;
|
|
40709
40715
|
else {
|
|
40710
40716
|
// Inline function 'kotlin.let' call
|
|
40711
40717
|
filled = replace(filled, '{cookie}', tmp0_safe_receiver);
|
|
40712
40718
|
}
|
|
40713
|
-
var tmp1_safe_receiver = request.
|
|
40719
|
+
var tmp1_safe_receiver = request.bbr_1;
|
|
40714
40720
|
if (tmp1_safe_receiver == null)
|
|
40715
40721
|
null;
|
|
40716
40722
|
else {
|
|
@@ -40859,8 +40865,8 @@ function lazyTargetChannel$lambda_2($closed, $dialled, $ready, $resolveReady) {
|
|
|
40859
40865
|
};
|
|
40860
40866
|
}
|
|
40861
40867
|
function Companion_44() {
|
|
40862
|
-
this.
|
|
40863
|
-
this.
|
|
40868
|
+
this.ubs_1 = 'steamLoginSecure';
|
|
40869
|
+
this.vbs_1 = 'sessionid';
|
|
40864
40870
|
}
|
|
40865
40871
|
var Companion_instance_48;
|
|
40866
40872
|
function Companion_getInstance_56() {
|
|
@@ -40868,7 +40874,7 @@ function Companion_getInstance_56() {
|
|
|
40868
40874
|
}
|
|
40869
40875
|
function $currentSessionCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
40870
40876
|
CoroutineImpl.call(this, resultContinuation);
|
|
40871
|
-
this.
|
|
40877
|
+
this.ebt_1 = _this__u8e3s4;
|
|
40872
40878
|
}
|
|
40873
40879
|
protoOf($currentSessionCOROUTINE$).o9 = function () {
|
|
40874
40880
|
var suspendResult = this.i9_1;
|
|
@@ -40879,7 +40885,7 @@ protoOf($currentSessionCOROUTINE$).o9 = function () {
|
|
|
40879
40885
|
case 0:
|
|
40880
40886
|
this.h9_1 = 3;
|
|
40881
40887
|
this.g9_1 = 1;
|
|
40882
|
-
suspendResult = webExtCookieValue(this.
|
|
40888
|
+
suspendResult = webExtCookieValue(this.ebt_1.gbt_1, 'steamLoginSecure', this);
|
|
40883
40889
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40884
40890
|
return suspendResult;
|
|
40885
40891
|
}
|
|
@@ -40895,9 +40901,9 @@ protoOf($currentSessionCOROUTINE$).o9 = function () {
|
|
|
40895
40901
|
tmp_1 = tmp0_elvis_lhs;
|
|
40896
40902
|
}
|
|
40897
40903
|
|
|
40898
|
-
tmp_0.
|
|
40904
|
+
tmp_0.fbt_1 = tmp_1;
|
|
40899
40905
|
this.g9_1 = 2;
|
|
40900
|
-
suspendResult = webExtCookieValue(this.
|
|
40906
|
+
suspendResult = webExtCookieValue(this.ebt_1.gbt_1, 'sessionid', this);
|
|
40901
40907
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
40902
40908
|
return suspendResult;
|
|
40903
40909
|
}
|
|
@@ -40906,7 +40912,7 @@ protoOf($currentSessionCOROUTINE$).o9 = function () {
|
|
|
40906
40912
|
case 2:
|
|
40907
40913
|
var sessionId = suspendResult;
|
|
40908
40914
|
var this_0 = StringBuilder_init_$Create$();
|
|
40909
|
-
this_0.q('steamLoginSecure').s(_Char___init__impl__6a9atx(61)).q(this.
|
|
40915
|
+
this_0.q('steamLoginSecure').s(_Char___init__impl__6a9atx(61)).q(this.fbt_1);
|
|
40910
40916
|
if (sessionId == null)
|
|
40911
40917
|
null;
|
|
40912
40918
|
else {
|
|
@@ -40931,7 +40937,7 @@ protoOf($currentSessionCOROUTINE$).o9 = function () {
|
|
|
40931
40937
|
};
|
|
40932
40938
|
function WebExtSteamProofCookieSource(communityBaseUrl) {
|
|
40933
40939
|
communityBaseUrl = communityBaseUrl === VOID ? 'https://steamcommunity.com' : communityBaseUrl;
|
|
40934
|
-
this.
|
|
40940
|
+
this.gbt_1 = communityBaseUrl;
|
|
40935
40941
|
}
|
|
40936
40942
|
protoOf(WebExtSteamProofCookieSource).u6b = function ($completion) {
|
|
40937
40943
|
var tmp = new $currentSessionCOROUTINE$(this, $completion);
|
|
@@ -40940,10 +40946,10 @@ protoOf(WebExtSteamProofCookieSource).u6b = function ($completion) {
|
|
|
40940
40946
|
return tmp.o9();
|
|
40941
40947
|
};
|
|
40942
40948
|
function trackerCoreVersion() {
|
|
40943
|
-
return '1.0
|
|
40949
|
+
return '1.1.0-beta';
|
|
40944
40950
|
}
|
|
40945
40951
|
function enabledGameCount() {
|
|
40946
|
-
return (new TradeTrackerCore()).
|
|
40952
|
+
return (new TradeTrackerCore()).db9();
|
|
40947
40953
|
}
|
|
40948
40954
|
function createBrowserLoop(baseUrl, config, networkObserver, eventObserver, notaryProofDelegate, clientVersion) {
|
|
40949
40955
|
baseUrl = baseUrl === VOID ? 'https://api.dmarket.com' : baseUrl;
|
|
@@ -40980,7 +40986,7 @@ function createBrowserLoop(baseUrl, config, networkObserver, eventObserver, nota
|
|
|
40980
40986
|
var tmp7_notifications = new KtorSteamNotificationReader(steamHttpClient, config.steamEndpoints);
|
|
40981
40987
|
var tmp8_progress = new PersistedTrackerProgressStore(new WebExtKeyValueStore());
|
|
40982
40988
|
var tmp9_loopState = new PersistedLoopStateStore(new WebExtKeyValueStore());
|
|
40983
|
-
return tmp1_$this.
|
|
40989
|
+
return tmp1_$this.cb5(loopConfig, marketplace, steamReader, scraper, tmp2_scheduler, tmp3_deviceId, vault, clock, notary, tmp4_offerCreator, tmp5_offerCanceller, tmp6_inventoryReader, sessionRefresher, marketplaceCredentials, tmp8_progress, VOID, VOID, VOID, VOID, tmp9_loopState, VOID, true, eventObserver, tmp7_notifications);
|
|
40984
40990
|
}
|
|
40985
40991
|
function createBrowserMarketplaceClient(baseUrl, config) {
|
|
40986
40992
|
config = config === VOID ? Companion_instance_1.defaults() : config;
|
|
@@ -41023,7 +41029,7 @@ function resolveClientVersion(hostVersion) {
|
|
|
41023
41029
|
tmp_0 = tmp_1;
|
|
41024
41030
|
}
|
|
41025
41031
|
var tmp2_elvis_lhs = tmp_0;
|
|
41026
|
-
return tmp2_elvis_lhs == null ? '1.0
|
|
41032
|
+
return tmp2_elvis_lhs == null ? '1.1.0-beta' : tmp2_elvis_lhs;
|
|
41027
41033
|
}
|
|
41028
41034
|
function get_offscreenScope() {
|
|
41029
41035
|
_init_properties_NotaryOffscreenApi_js_kt__f5xgx();
|
|
@@ -41037,13 +41043,13 @@ function proveNotaryTransition(requestJson, notaryToken, steamAccessToken, confi
|
|
|
41037
41043
|
return promise(tmp, VOID, VOID, proveNotaryTransition$slambda_0(requestJson, config, onProgress, steamAccessToken, notaryToken, null));
|
|
41038
41044
|
}
|
|
41039
41045
|
function sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0_0(function_0) {
|
|
41040
|
-
this.
|
|
41046
|
+
this.hbt_1 = function_0;
|
|
41041
41047
|
}
|
|
41042
41048
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0_0).t6b = function ($completion) {
|
|
41043
|
-
return this.
|
|
41049
|
+
return this.hbt_1($completion);
|
|
41044
41050
|
};
|
|
41045
41051
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0_0).q3 = function () {
|
|
41046
|
-
return this.
|
|
41052
|
+
return this.hbt_1;
|
|
41047
41053
|
};
|
|
41048
41054
|
protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0_0).equals = function (other) {
|
|
41049
41055
|
var tmp;
|
|
@@ -41064,7 +41070,7 @@ protoOf(sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0_0).hashCod
|
|
|
41064
41070
|
return hashCode(this.q3());
|
|
41065
41071
|
};
|
|
41066
41072
|
function proveNotaryTransition$slambda$slambda($notaryToken, resultContinuation) {
|
|
41067
|
-
this.
|
|
41073
|
+
this.qbt_1 = $notaryToken;
|
|
41068
41074
|
CoroutineImpl.call(this, resultContinuation);
|
|
41069
41075
|
}
|
|
41070
41076
|
protoOf(proveNotaryTransition$slambda$slambda).i6t = function ($completion) {
|
|
@@ -41083,7 +41089,7 @@ protoOf(proveNotaryTransition$slambda$slambda).o9 = function () {
|
|
|
41083
41089
|
var tmp = this.g9_1;
|
|
41084
41090
|
if (tmp === 0) {
|
|
41085
41091
|
this.h9_1 = 1;
|
|
41086
|
-
return this.
|
|
41092
|
+
return this.qbt_1;
|
|
41087
41093
|
} else if (tmp === 1) {
|
|
41088
41094
|
throw this.j9_1;
|
|
41089
41095
|
}
|
|
@@ -41094,7 +41100,7 @@ protoOf(proveNotaryTransition$slambda$slambda).o9 = function () {
|
|
|
41094
41100
|
while (true);
|
|
41095
41101
|
};
|
|
41096
41102
|
protoOf(proveNotaryTransition$slambda$slambda).d31 = function (completion) {
|
|
41097
|
-
return new proveNotaryTransition$slambda$slambda(this.
|
|
41103
|
+
return new proveNotaryTransition$slambda$slambda(this.qbt_1, completion);
|
|
41098
41104
|
};
|
|
41099
41105
|
function proveNotaryTransition$slambda$slambda_0($notaryToken, resultContinuation) {
|
|
41100
41106
|
var i = new proveNotaryTransition$slambda$slambda($notaryToken, resultContinuation);
|
|
@@ -41103,21 +41109,21 @@ function proveNotaryTransition$slambda$slambda_0($notaryToken, resultContinuatio
|
|
|
41103
41109
|
}, 0);
|
|
41104
41110
|
}
|
|
41105
41111
|
function proveNotaryTransition$slambda($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation) {
|
|
41106
|
-
this.
|
|
41107
|
-
this.
|
|
41108
|
-
this.
|
|
41109
|
-
this.
|
|
41110
|
-
this.
|
|
41112
|
+
this.zbt_1 = $requestJson;
|
|
41113
|
+
this.abu_1 = $config;
|
|
41114
|
+
this.bbu_1 = $onProgress;
|
|
41115
|
+
this.cbu_1 = $steamAccessToken;
|
|
41116
|
+
this.dbu_1 = $notaryToken;
|
|
41111
41117
|
CoroutineImpl.call(this, resultContinuation);
|
|
41112
41118
|
}
|
|
41113
|
-
protoOf(proveNotaryTransition$slambda).
|
|
41119
|
+
protoOf(proveNotaryTransition$slambda).fbu = function ($this$promise, $completion) {
|
|
41114
41120
|
var tmp = this.l1n($this$promise, $completion);
|
|
41115
41121
|
tmp.i9_1 = Unit_instance;
|
|
41116
41122
|
tmp.j9_1 = null;
|
|
41117
41123
|
return tmp.o9();
|
|
41118
41124
|
};
|
|
41119
41125
|
protoOf(proveNotaryTransition$slambda).ba = function (p1, $completion) {
|
|
41120
|
-
return this.
|
|
41126
|
+
return this.fbu((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
41121
41127
|
};
|
|
41122
41128
|
protoOf(proveNotaryTransition$slambda).o9 = function () {
|
|
41123
41129
|
var suspendResult = this.i9_1;
|
|
@@ -41128,14 +41134,14 @@ protoOf(proveNotaryTransition$slambda).o9 = function () {
|
|
|
41128
41134
|
case 0:
|
|
41129
41135
|
this.h9_1 = 2;
|
|
41130
41136
|
var tmp0 = Default_getInstance_1();
|
|
41131
|
-
var string = this.
|
|
41137
|
+
var string = this.zbt_1;
|
|
41132
41138
|
var this_0 = tmp0.y2b();
|
|
41133
41139
|
var this_1 = serializer(this_0, createKType(getKClass(NotaryProofRequest), arrayOf([]), false));
|
|
41134
41140
|
var request = tmp0.d52(isInterface(this_1, KSerializer) ? this_1 : THROW_CCE(), string);
|
|
41135
|
-
var tmp_0 = proveNotaryTransition$slambda$slambda_0(this.
|
|
41136
|
-
var prover = new WasmNotaryProver(this.
|
|
41141
|
+
var tmp_0 = proveNotaryTransition$slambda$slambda_0(this.dbu_1, null);
|
|
41142
|
+
var prover = new WasmNotaryProver(this.abu_1.notary, new sam$com_dmarket_p2p_tracker_port_notary_NotaryTokenProvider$0_0(tmp_0), new BundledWasmProverModule(this.bbu_1), new Cs2GameAdapter(this.abu_1.game), VOID, new WebExtSteamProofCookieSource());
|
|
41137
41143
|
this.g9_1 = 1;
|
|
41138
|
-
suspendResult = prover.
|
|
41144
|
+
suspendResult = prover.ebp(toBinding(request), toKind(request), toSubjectSteamId(request), this.cbu_1, this);
|
|
41139
41145
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
41140
41146
|
return suspendResult;
|
|
41141
41147
|
}
|
|
@@ -41158,14 +41164,14 @@ protoOf(proveNotaryTransition$slambda).o9 = function () {
|
|
|
41158
41164
|
while (true);
|
|
41159
41165
|
};
|
|
41160
41166
|
protoOf(proveNotaryTransition$slambda).l1n = function ($this$promise, completion) {
|
|
41161
|
-
var i = new proveNotaryTransition$slambda(this.
|
|
41162
|
-
i.
|
|
41167
|
+
var i = new proveNotaryTransition$slambda(this.zbt_1, this.abu_1, this.bbu_1, this.cbu_1, this.dbu_1, completion);
|
|
41168
|
+
i.ebu_1 = $this$promise;
|
|
41163
41169
|
return i;
|
|
41164
41170
|
};
|
|
41165
41171
|
function proveNotaryTransition$slambda_0($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation) {
|
|
41166
41172
|
var i = new proveNotaryTransition$slambda($requestJson, $config, $onProgress, $steamAccessToken, $notaryToken, resultContinuation);
|
|
41167
41173
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
41168
|
-
return i.
|
|
41174
|
+
return i.fbu($this$promise, $completion);
|
|
41169
41175
|
}, 1);
|
|
41170
41176
|
}
|
|
41171
41177
|
var properties_initialized_NotaryOffscreenApi_js_kt_67h2dp;
|
|
@@ -41176,30 +41182,30 @@ function _init_properties_NotaryOffscreenApi_js_kt__f5xgx() {
|
|
|
41176
41182
|
}
|
|
41177
41183
|
}
|
|
41178
41184
|
function stopTracker(handle) {
|
|
41179
|
-
return handle.
|
|
41185
|
+
return handle.gbu();
|
|
41180
41186
|
}
|
|
41181
41187
|
function deliverPush(handle, payloadJson) {
|
|
41182
41188
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
41183
|
-
return promise(h.
|
|
41189
|
+
return promise(h.ibu_1, VOID, VOID, deliverPush$slambda_0(payloadJson, h, null));
|
|
41184
41190
|
}
|
|
41185
41191
|
function forceHeartbeat(handle) {
|
|
41186
41192
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
41187
|
-
return promise(h.
|
|
41193
|
+
return promise(h.ibu_1, VOID, VOID, forceHeartbeat$slambda_0(h, null));
|
|
41188
41194
|
}
|
|
41189
41195
|
function createTrade(handle, directiveId, dealId, partnerSteamId, assetIds, tradeToken, linkedSteamId) {
|
|
41190
41196
|
tradeToken = tradeToken === VOID ? null : tradeToken;
|
|
41191
41197
|
linkedSteamId = linkedSteamId === VOID ? null : linkedSteamId;
|
|
41192
41198
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
41193
|
-
return promise(h.
|
|
41199
|
+
return promise(h.ibu_1, VOID, VOID, createTrade$slambda_0(directiveId, dealId, partnerSteamId, assetIds, tradeToken, h, linkedSteamId, null));
|
|
41194
41200
|
}
|
|
41195
41201
|
function linkedSteamIdMismatch(handle) {
|
|
41196
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
41202
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).hbu_1.pal();
|
|
41197
41203
|
}
|
|
41198
41204
|
function blockingReason(handle) {
|
|
41199
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
41205
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).hbu_1.dan().z_1;
|
|
41200
41206
|
}
|
|
41201
41207
|
function isTrackingActive(handle) {
|
|
41202
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
41208
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).hbu_1.dan().equals(TrackerBlock_NONE_getInstance());
|
|
41203
41209
|
}
|
|
41204
41210
|
function startTracker(baseUrl, config, networkObserver, eventObserver) {
|
|
41205
41211
|
baseUrl = baseUrl === VOID ? 'https://api.dmarket.com' : baseUrl;
|
|
@@ -41217,21 +41223,21 @@ function startTrackerWithEvents(baseUrl, config, onEvent, notaryProofDelegate, c
|
|
|
41217
41223
|
}
|
|
41218
41224
|
function subscribeActiveTrackingCount(handle, onCount) {
|
|
41219
41225
|
var h = handle instanceof JsTrackerHandle ? handle : THROW_CCE();
|
|
41220
|
-
var job = launch(h.
|
|
41226
|
+
var job = launch(h.ibu_1, VOID, VOID, subscribeActiveTrackingCount$slambda_0(h, onCount, null));
|
|
41221
41227
|
return subscribeActiveTrackingCount$lambda(job);
|
|
41222
41228
|
}
|
|
41223
41229
|
function activeTrackingCount(handle) {
|
|
41224
|
-
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).
|
|
41230
|
+
return (handle instanceof JsTrackerHandle ? handle : THROW_CCE()).kbu_1.jay_1.p1();
|
|
41225
41231
|
}
|
|
41226
41232
|
function JsTrackerHandle(loop, scope, scheduler, activeCount, onStop) {
|
|
41227
|
-
this.
|
|
41228
|
-
this.
|
|
41229
|
-
this.
|
|
41230
|
-
this.
|
|
41231
|
-
this.
|
|
41233
|
+
this.hbu_1 = loop;
|
|
41234
|
+
this.ibu_1 = scope;
|
|
41235
|
+
this.jbu_1 = scheduler;
|
|
41236
|
+
this.kbu_1 = activeCount;
|
|
41237
|
+
this.lbu_1 = onStop;
|
|
41232
41238
|
}
|
|
41233
|
-
protoOf(JsTrackerHandle).
|
|
41234
|
-
return this.
|
|
41239
|
+
protoOf(JsTrackerHandle).gbu = function () {
|
|
41240
|
+
return this.lbu_1();
|
|
41235
41241
|
};
|
|
41236
41242
|
function startInternal(baseUrl, config, networkObserver, eventObserver, notaryProofDelegate, clientVersion) {
|
|
41237
41243
|
var activeCount = new ActiveTrackingCountChannel(eventObserver);
|
|
@@ -41251,14 +41257,14 @@ function startInternal(baseUrl, config, networkObserver, eventObserver, notaryPr
|
|
|
41251
41257
|
return new JsTrackerHandle(loop, scope, scheduler, activeCount, startInternal$lambda_2(chrome_0, onAlarm, onRearm, scheduler, scope));
|
|
41252
41258
|
}
|
|
41253
41259
|
function CallbackEventObserver(callback) {
|
|
41254
|
-
this.
|
|
41260
|
+
this.mbu_1 = callback;
|
|
41255
41261
|
}
|
|
41256
41262
|
protoOf(CallbackEventObserver).x6a = function (event, $completion) {
|
|
41257
|
-
return this.
|
|
41263
|
+
return this.mbu_1(toWireJson(event));
|
|
41258
41264
|
};
|
|
41259
41265
|
function deliverPush$slambda($payloadJson, $h, resultContinuation) {
|
|
41260
|
-
this.
|
|
41261
|
-
this.
|
|
41266
|
+
this.vbu_1 = $payloadJson;
|
|
41267
|
+
this.wbu_1 = $h;
|
|
41262
41268
|
CoroutineImpl.call(this, resultContinuation);
|
|
41263
41269
|
}
|
|
41264
41270
|
protoOf(deliverPush$slambda).k1n = function ($this$promise, $completion) {
|
|
@@ -41278,18 +41284,18 @@ protoOf(deliverPush$slambda).o9 = function () {
|
|
|
41278
41284
|
switch (tmp) {
|
|
41279
41285
|
case 0:
|
|
41280
41286
|
this.h9_1 = 4;
|
|
41281
|
-
var tmp0_safe_receiver = parsePushEnvelope(this.
|
|
41287
|
+
var tmp0_safe_receiver = parsePushEnvelope(this.vbu_1);
|
|
41282
41288
|
var signal = tmp0_safe_receiver == null ? null : toSignalOrNull(tmp0_safe_receiver);
|
|
41283
41289
|
if (!(signal == null)) {
|
|
41284
41290
|
this.g9_1 = 2;
|
|
41285
|
-
suspendResult = this.
|
|
41291
|
+
suspendResult = this.wbu_1.hbu_1.dap(signal, this);
|
|
41286
41292
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
41287
41293
|
return suspendResult;
|
|
41288
41294
|
}
|
|
41289
41295
|
continue $sm;
|
|
41290
41296
|
} else {
|
|
41291
41297
|
this.g9_1 = 1;
|
|
41292
|
-
suspendResult = this.
|
|
41298
|
+
suspendResult = this.wbu_1.hbu_1.aao(this);
|
|
41293
41299
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
41294
41300
|
return suspendResult;
|
|
41295
41301
|
}
|
|
@@ -41297,15 +41303,15 @@ protoOf(deliverPush$slambda).o9 = function () {
|
|
|
41297
41303
|
}
|
|
41298
41304
|
|
|
41299
41305
|
case 1:
|
|
41300
|
-
this.
|
|
41306
|
+
this.ybu_1 = suspendResult;
|
|
41301
41307
|
this.g9_1 = 3;
|
|
41302
41308
|
continue $sm;
|
|
41303
41309
|
case 2:
|
|
41304
|
-
this.
|
|
41310
|
+
this.ybu_1 = suspendResult;
|
|
41305
41311
|
this.g9_1 = 3;
|
|
41306
41312
|
continue $sm;
|
|
41307
41313
|
case 3:
|
|
41308
|
-
this.
|
|
41314
|
+
this.wbu_1.jbu_1.v6i(this.wbu_1.hbu_1.aah());
|
|
41309
41315
|
return Unit_instance;
|
|
41310
41316
|
case 4:
|
|
41311
41317
|
throw this.j9_1;
|
|
@@ -41322,8 +41328,8 @@ protoOf(deliverPush$slambda).o9 = function () {
|
|
|
41322
41328
|
while (true);
|
|
41323
41329
|
};
|
|
41324
41330
|
protoOf(deliverPush$slambda).l1n = function ($this$promise, completion) {
|
|
41325
|
-
var i = new deliverPush$slambda(this.
|
|
41326
|
-
i.
|
|
41331
|
+
var i = new deliverPush$slambda(this.vbu_1, this.wbu_1, completion);
|
|
41332
|
+
i.xbu_1 = $this$promise;
|
|
41327
41333
|
return i;
|
|
41328
41334
|
};
|
|
41329
41335
|
function deliverPush$slambda_0($payloadJson, $h, resultContinuation) {
|
|
@@ -41333,7 +41339,7 @@ function deliverPush$slambda_0($payloadJson, $h, resultContinuation) {
|
|
|
41333
41339
|
}, 1);
|
|
41334
41340
|
}
|
|
41335
41341
|
function forceHeartbeat$slambda($h, resultContinuation) {
|
|
41336
|
-
this.
|
|
41342
|
+
this.hbv_1 = $h;
|
|
41337
41343
|
CoroutineImpl.call(this, resultContinuation);
|
|
41338
41344
|
}
|
|
41339
41345
|
protoOf(forceHeartbeat$slambda).k1n = function ($this$promise, $completion) {
|
|
@@ -41354,7 +41360,7 @@ protoOf(forceHeartbeat$slambda).o9 = function () {
|
|
|
41354
41360
|
case 0:
|
|
41355
41361
|
this.h9_1 = 3;
|
|
41356
41362
|
this.g9_1 = 1;
|
|
41357
|
-
suspendResult = this.
|
|
41363
|
+
suspendResult = this.hbv_1.hbu_1.zan(this);
|
|
41358
41364
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
41359
41365
|
return suspendResult;
|
|
41360
41366
|
}
|
|
@@ -41362,14 +41368,14 @@ protoOf(forceHeartbeat$slambda).o9 = function () {
|
|
|
41362
41368
|
continue $sm;
|
|
41363
41369
|
case 1:
|
|
41364
41370
|
this.g9_1 = 2;
|
|
41365
|
-
suspendResult = this.
|
|
41371
|
+
suspendResult = this.hbv_1.hbu_1.aao(this);
|
|
41366
41372
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
41367
41373
|
return suspendResult;
|
|
41368
41374
|
}
|
|
41369
41375
|
|
|
41370
41376
|
continue $sm;
|
|
41371
41377
|
case 2:
|
|
41372
|
-
this.
|
|
41378
|
+
this.hbv_1.jbu_1.v6i(this.hbv_1.hbu_1.aah());
|
|
41373
41379
|
return Unit_instance;
|
|
41374
41380
|
case 3:
|
|
41375
41381
|
throw this.j9_1;
|
|
@@ -41386,8 +41392,8 @@ protoOf(forceHeartbeat$slambda).o9 = function () {
|
|
|
41386
41392
|
while (true);
|
|
41387
41393
|
};
|
|
41388
41394
|
protoOf(forceHeartbeat$slambda).l1n = function ($this$promise, completion) {
|
|
41389
|
-
var i = new forceHeartbeat$slambda(this.
|
|
41390
|
-
i.
|
|
41395
|
+
var i = new forceHeartbeat$slambda(this.hbv_1, completion);
|
|
41396
|
+
i.ibv_1 = $this$promise;
|
|
41391
41397
|
return i;
|
|
41392
41398
|
};
|
|
41393
41399
|
function forceHeartbeat$slambda_0($h, resultContinuation) {
|
|
@@ -41397,23 +41403,23 @@ function forceHeartbeat$slambda_0($h, resultContinuation) {
|
|
|
41397
41403
|
}, 1);
|
|
41398
41404
|
}
|
|
41399
41405
|
function createTrade$slambda($directiveId, $dealId, $partnerSteamId, $assetIds, $tradeToken, $h, $linkedSteamId, resultContinuation) {
|
|
41400
|
-
this.
|
|
41401
|
-
this.
|
|
41402
|
-
this.
|
|
41403
|
-
this.
|
|
41404
|
-
this.
|
|
41405
|
-
this.
|
|
41406
|
-
this.
|
|
41406
|
+
this.rbv_1 = $directiveId;
|
|
41407
|
+
this.sbv_1 = $dealId;
|
|
41408
|
+
this.tbv_1 = $partnerSteamId;
|
|
41409
|
+
this.ubv_1 = $assetIds;
|
|
41410
|
+
this.vbv_1 = $tradeToken;
|
|
41411
|
+
this.wbv_1 = $h;
|
|
41412
|
+
this.xbv_1 = $linkedSteamId;
|
|
41407
41413
|
CoroutineImpl.call(this, resultContinuation);
|
|
41408
41414
|
}
|
|
41409
|
-
protoOf(createTrade$slambda).
|
|
41415
|
+
protoOf(createTrade$slambda).fbu = function ($this$promise, $completion) {
|
|
41410
41416
|
var tmp = this.l1n($this$promise, $completion);
|
|
41411
41417
|
tmp.i9_1 = Unit_instance;
|
|
41412
41418
|
tmp.j9_1 = null;
|
|
41413
41419
|
return tmp.o9();
|
|
41414
41420
|
};
|
|
41415
41421
|
protoOf(createTrade$slambda).ba = function (p1, $completion) {
|
|
41416
|
-
return this.
|
|
41422
|
+
return this.fbu((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
41417
41423
|
};
|
|
41418
41424
|
protoOf(createTrade$slambda).o9 = function () {
|
|
41419
41425
|
var suspendResult = this.i9_1;
|
|
@@ -41423,22 +41429,22 @@ protoOf(createTrade$slambda).o9 = function () {
|
|
|
41423
41429
|
switch (tmp) {
|
|
41424
41430
|
case 0:
|
|
41425
41431
|
this.h9_1 = 2;
|
|
41426
|
-
if (isBlank(this.
|
|
41432
|
+
if (isBlank(this.rbv_1)) {
|
|
41427
41433
|
var builder = new JsonObjectBuilder();
|
|
41428
41434
|
put(builder, 'ok', false);
|
|
41429
41435
|
put_1(builder, 'error', "missing directive_id (FE must supply the backend's create_offer directive id)");
|
|
41430
41436
|
return builder.g54().toString();
|
|
41431
41437
|
}
|
|
41432
41438
|
|
|
41433
|
-
if (isBlank(this.
|
|
41439
|
+
if (isBlank(this.sbv_1)) {
|
|
41434
41440
|
var builder_0 = new JsonObjectBuilder();
|
|
41435
41441
|
put(builder_0, 'ok', false);
|
|
41436
41442
|
put_1(builder_0, 'error', 'missing deal_id (the /trade-actions outcome report requires it \u2014 the backend rejects without it)');
|
|
41437
41443
|
return builder_0.g54().toString();
|
|
41438
41444
|
}
|
|
41439
41445
|
|
|
41440
|
-
var tmp_0 = _SteamId___init__impl__aj11zm(this.
|
|
41441
|
-
var tmp0 = this.
|
|
41446
|
+
var tmp_0 = _SteamId___init__impl__aj11zm(this.tbv_1);
|
|
41447
|
+
var tmp0 = this.ubv_1;
|
|
41442
41448
|
var destination = ArrayList_init_$Create$();
|
|
41443
41449
|
var inductionVariable = 0;
|
|
41444
41450
|
var last = tmp0.length;
|
|
@@ -41457,7 +41463,7 @@ protoOf(createTrade$slambda).o9 = function () {
|
|
|
41457
41463
|
destination_0.e1(new AssetId(_AssetId___init__impl__8dnimm(item)));
|
|
41458
41464
|
}
|
|
41459
41465
|
|
|
41460
|
-
var tmp0_safe_receiver = this.
|
|
41466
|
+
var tmp0_safe_receiver = this.vbv_1;
|
|
41461
41467
|
var tmp_1;
|
|
41462
41468
|
if (tmp0_safe_receiver == null) {
|
|
41463
41469
|
tmp_1 = null;
|
|
@@ -41473,9 +41479,9 @@ protoOf(createTrade$slambda).o9 = function () {
|
|
|
41473
41479
|
|
|
41474
41480
|
var draft = new TradeDraft(tmp_0, destination_0, tmp_1);
|
|
41475
41481
|
this.g9_1 = 1;
|
|
41476
|
-
var tmp_3 = _DirectiveId___init__impl__hen9ld(this.
|
|
41477
|
-
var tmp_4 = _DealId___init__impl__icq89m(this.
|
|
41478
|
-
var tmp1_safe_receiver = this.
|
|
41482
|
+
var tmp_3 = _DirectiveId___init__impl__hen9ld(this.rbv_1);
|
|
41483
|
+
var tmp_4 = _DealId___init__impl__icq89m(this.sbv_1);
|
|
41484
|
+
var tmp1_safe_receiver = this.xbv_1;
|
|
41479
41485
|
var tmp_5;
|
|
41480
41486
|
if (tmp1_safe_receiver == null) {
|
|
41481
41487
|
tmp_5 = null;
|
|
@@ -41497,7 +41503,7 @@ protoOf(createTrade$slambda).o9 = function () {
|
|
|
41497
41503
|
tmp_7 = _SteamId___init__impl__aj11zm(tmp2_safe_receiver);
|
|
41498
41504
|
}
|
|
41499
41505
|
|
|
41500
|
-
suspendResult = this.
|
|
41506
|
+
suspendResult = this.wbv_1.hbu_1.yao(tmp_3, tmp_4, draft, tmp_7, this);
|
|
41501
41507
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
41502
41508
|
return suspendResult;
|
|
41503
41509
|
}
|
|
@@ -41505,7 +41511,7 @@ protoOf(createTrade$slambda).o9 = function () {
|
|
|
41505
41511
|
continue $sm;
|
|
41506
41512
|
case 1:
|
|
41507
41513
|
var result = suspendResult;
|
|
41508
|
-
this.
|
|
41514
|
+
this.wbv_1.jbu_1.v6i(this.wbv_1.hbu_1.aah());
|
|
41509
41515
|
var builder_1 = new JsonObjectBuilder();
|
|
41510
41516
|
var tmp_8;
|
|
41511
41517
|
var tmp_9;
|
|
@@ -41580,24 +41586,24 @@ protoOf(createTrade$slambda).o9 = function () {
|
|
|
41580
41586
|
while (true);
|
|
41581
41587
|
};
|
|
41582
41588
|
protoOf(createTrade$slambda).l1n = function ($this$promise, completion) {
|
|
41583
|
-
var i = new createTrade$slambda(this.
|
|
41584
|
-
i.
|
|
41589
|
+
var i = new createTrade$slambda(this.rbv_1, this.sbv_1, this.tbv_1, this.ubv_1, this.vbv_1, this.wbv_1, this.xbv_1, completion);
|
|
41590
|
+
i.ybv_1 = $this$promise;
|
|
41585
41591
|
return i;
|
|
41586
41592
|
};
|
|
41587
41593
|
function createTrade$slambda_0($directiveId, $dealId, $partnerSteamId, $assetIds, $tradeToken, $h, $linkedSteamId, resultContinuation) {
|
|
41588
41594
|
var i = new createTrade$slambda($directiveId, $dealId, $partnerSteamId, $assetIds, $tradeToken, $h, $linkedSteamId, resultContinuation);
|
|
41589
41595
|
return constructCallableReference(function ($this$promise, $completion) {
|
|
41590
|
-
return i.
|
|
41596
|
+
return i.fbu($this$promise, $completion);
|
|
41591
41597
|
}, 1);
|
|
41592
41598
|
}
|
|
41593
41599
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
41594
|
-
this.
|
|
41600
|
+
this.zbv_1 = function_0;
|
|
41595
41601
|
}
|
|
41596
41602
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).w1i = function (value, $completion) {
|
|
41597
|
-
return this.
|
|
41603
|
+
return this.zbv_1(value, $completion);
|
|
41598
41604
|
};
|
|
41599
41605
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
41600
|
-
return this.
|
|
41606
|
+
return this.zbv_1;
|
|
41601
41607
|
};
|
|
41602
41608
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
41603
41609
|
var tmp;
|
|
@@ -41618,17 +41624,17 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
|
41618
41624
|
return hashCode(this.q3());
|
|
41619
41625
|
};
|
|
41620
41626
|
function subscribeActiveTrackingCount$slambda$slambda($onCount, resultContinuation) {
|
|
41621
|
-
this.
|
|
41627
|
+
this.ibw_1 = $onCount;
|
|
41622
41628
|
CoroutineImpl.call(this, resultContinuation);
|
|
41623
41629
|
}
|
|
41624
|
-
protoOf(subscribeActiveTrackingCount$slambda$slambda).
|
|
41625
|
-
var tmp = this.
|
|
41630
|
+
protoOf(subscribeActiveTrackingCount$slambda$slambda).kbw = function (it, $completion) {
|
|
41631
|
+
var tmp = this.lbw(it, $completion);
|
|
41626
41632
|
tmp.i9_1 = Unit_instance;
|
|
41627
41633
|
tmp.j9_1 = null;
|
|
41628
41634
|
return tmp.o9();
|
|
41629
41635
|
};
|
|
41630
41636
|
protoOf(subscribeActiveTrackingCount$slambda$slambda).ba = function (p1, $completion) {
|
|
41631
|
-
return this.
|
|
41637
|
+
return this.kbw((!(p1 == null) ? typeof p1 === 'number' : false) ? p1 : THROW_CCE(), $completion);
|
|
41632
41638
|
};
|
|
41633
41639
|
protoOf(subscribeActiveTrackingCount$slambda$slambda).o9 = function () {
|
|
41634
41640
|
var suspendResult = this.i9_1;
|
|
@@ -41637,7 +41643,7 @@ protoOf(subscribeActiveTrackingCount$slambda$slambda).o9 = function () {
|
|
|
41637
41643
|
var tmp = this.g9_1;
|
|
41638
41644
|
if (tmp === 0) {
|
|
41639
41645
|
this.h9_1 = 1;
|
|
41640
|
-
this.
|
|
41646
|
+
this.ibw_1(this.jbw_1);
|
|
41641
41647
|
return Unit_instance;
|
|
41642
41648
|
} else if (tmp === 1) {
|
|
41643
41649
|
throw this.j9_1;
|
|
@@ -41648,20 +41654,20 @@ protoOf(subscribeActiveTrackingCount$slambda$slambda).o9 = function () {
|
|
|
41648
41654
|
}
|
|
41649
41655
|
while (true);
|
|
41650
41656
|
};
|
|
41651
|
-
protoOf(subscribeActiveTrackingCount$slambda$slambda).
|
|
41652
|
-
var i = new subscribeActiveTrackingCount$slambda$slambda(this.
|
|
41653
|
-
i.
|
|
41657
|
+
protoOf(subscribeActiveTrackingCount$slambda$slambda).lbw = function (it, completion) {
|
|
41658
|
+
var i = new subscribeActiveTrackingCount$slambda$slambda(this.ibw_1, completion);
|
|
41659
|
+
i.jbw_1 = it;
|
|
41654
41660
|
return i;
|
|
41655
41661
|
};
|
|
41656
41662
|
function subscribeActiveTrackingCount$slambda$slambda_0($onCount, resultContinuation) {
|
|
41657
41663
|
var i = new subscribeActiveTrackingCount$slambda$slambda($onCount, resultContinuation);
|
|
41658
41664
|
return constructCallableReference(function (it, $completion) {
|
|
41659
|
-
return i.
|
|
41665
|
+
return i.kbw(it, $completion);
|
|
41660
41666
|
}, 1);
|
|
41661
41667
|
}
|
|
41662
41668
|
function subscribeActiveTrackingCount$slambda($h, $onCount, resultContinuation) {
|
|
41663
|
-
this.
|
|
41664
|
-
this.
|
|
41669
|
+
this.ubw_1 = $h;
|
|
41670
|
+
this.vbw_1 = $onCount;
|
|
41665
41671
|
CoroutineImpl.call(this, resultContinuation);
|
|
41666
41672
|
}
|
|
41667
41673
|
protoOf(subscribeActiveTrackingCount$slambda).k1n = function ($this$launch, $completion) {
|
|
@@ -41682,8 +41688,8 @@ protoOf(subscribeActiveTrackingCount$slambda).o9 = function () {
|
|
|
41682
41688
|
case 0:
|
|
41683
41689
|
this.h9_1 = 2;
|
|
41684
41690
|
this.g9_1 = 1;
|
|
41685
|
-
var tmp_0 = subscribeActiveTrackingCount$slambda$slambda_0(this.
|
|
41686
|
-
suspendResult = this.
|
|
41691
|
+
var tmp_0 = subscribeActiveTrackingCount$slambda$slambda_0(this.vbw_1, null);
|
|
41692
|
+
suspendResult = this.ubw_1.kbu_1.jay_1.n1k(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
41687
41693
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
41688
41694
|
return suspendResult;
|
|
41689
41695
|
}
|
|
@@ -41707,8 +41713,8 @@ protoOf(subscribeActiveTrackingCount$slambda).o9 = function () {
|
|
|
41707
41713
|
while (true);
|
|
41708
41714
|
};
|
|
41709
41715
|
protoOf(subscribeActiveTrackingCount$slambda).l1n = function ($this$launch, completion) {
|
|
41710
|
-
var i = new subscribeActiveTrackingCount$slambda(this.
|
|
41711
|
-
i.
|
|
41716
|
+
var i = new subscribeActiveTrackingCount$slambda(this.ubw_1, this.vbw_1, completion);
|
|
41717
|
+
i.wbw_1 = $this$launch;
|
|
41712
41718
|
return i;
|
|
41713
41719
|
};
|
|
41714
41720
|
function subscribeActiveTrackingCount$slambda_0($h, $onCount, resultContinuation) {
|
|
@@ -41724,8 +41730,8 @@ function subscribeActiveTrackingCount$lambda($job) {
|
|
|
41724
41730
|
};
|
|
41725
41731
|
}
|
|
41726
41732
|
function startInternal$cycle$slambda($loop, $scheduler, resultContinuation) {
|
|
41727
|
-
this.
|
|
41728
|
-
this.
|
|
41733
|
+
this.fbx_1 = $loop;
|
|
41734
|
+
this.gbx_1 = $scheduler;
|
|
41729
41735
|
CoroutineImpl.call(this, resultContinuation);
|
|
41730
41736
|
}
|
|
41731
41737
|
protoOf(startInternal$cycle$slambda).k1n = function ($this$launch, $completion) {
|
|
@@ -41746,14 +41752,14 @@ protoOf(startInternal$cycle$slambda).o9 = function () {
|
|
|
41746
41752
|
case 0:
|
|
41747
41753
|
this.h9_1 = 2;
|
|
41748
41754
|
this.g9_1 = 1;
|
|
41749
|
-
suspendResult = this.
|
|
41755
|
+
suspendResult = this.fbx_1.aao(this);
|
|
41750
41756
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
41751
41757
|
return suspendResult;
|
|
41752
41758
|
}
|
|
41753
41759
|
|
|
41754
41760
|
continue $sm;
|
|
41755
41761
|
case 1:
|
|
41756
|
-
this.
|
|
41762
|
+
this.gbx_1.v6i(this.fbx_1.aah());
|
|
41757
41763
|
return Unit_instance;
|
|
41758
41764
|
case 2:
|
|
41759
41765
|
throw this.j9_1;
|
|
@@ -41770,8 +41776,8 @@ protoOf(startInternal$cycle$slambda).o9 = function () {
|
|
|
41770
41776
|
while (true);
|
|
41771
41777
|
};
|
|
41772
41778
|
protoOf(startInternal$cycle$slambda).l1n = function ($this$launch, completion) {
|
|
41773
|
-
var i = new startInternal$cycle$slambda(this.
|
|
41774
|
-
i.
|
|
41779
|
+
var i = new startInternal$cycle$slambda(this.fbx_1, this.gbx_1, completion);
|
|
41780
|
+
i.hbx_1 = $this$launch;
|
|
41775
41781
|
return i;
|
|
41776
41782
|
};
|
|
41777
41783
|
function startInternal$cycle$slambda_0($loop, $scheduler, resultContinuation) {
|