This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+54
View File
@@ -0,0 +1,54 @@
// Metro module 6015 (f6016).
import Module589 from "../../../_bundle/Module589";
import Dispatcher from "../../../Dispatcher";
let c3806_0;
let c3806_1 = false;
let c3806_2 = false;
let c3806_3 = null;
let c3806_4 = null;
class AdUserStore extends Module589.Store {
static displayName = "AdUserStore";
get adUser() {
return c3806_0;
}
get isFetching() {
return c3806_1;
}
get hasFetchFailed() {
return c3806_2;
}
get fetchPromise() {
return c3806_3;
}
get lastFetchedAt() {
return c3806_4;
}
get hasFetchedRecently() {
return c3806_4 != null && Date.now() - c3806_4 < 21600000;
}
setFetchPromise(a0) {
c3806_3 = a0;
}
}
const adUserStore = new AdUserStore(Dispatcher, {
POST_CONNECTION_OPEN: function handlePostConnectionOpen() {},
FETCH_AD_USER_START: function handleFetchAdUserStart() {
c3806_1 = true;
c3806_4 = Date.now();
},
FETCH_AD_USER_SUCCESS: function handleFetchAdUserSuccess({ advertisingId, isLimitAdTrackingEnabled }) {
c3806_1 = false;
c3806_3 = null;
c3806_0 = {
advertisingId,
isLimitAdTrackingEnabled
};
c3806_2 = false;
},
FETCH_AD_USER_FAILURE: function handleFetchAdUserFailure() {
c3806_1 = false;
c3806_2 = true;
c3806_3 = null;
}
});
export default adUserStore;