decord/source/stores/PremiumPromoStore.tsx

81 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-07-27 11:26:19 +00:00
// Module ID: 12740
// Function ID: 99195
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-25 08:10:48 +00:00
// Dependencies: [6, 7, 15, 17, 18, 1194, 3768, 664, 21, 566, 686, 2]
2026-07-23 10:11:24 +00:00
2026-07-27 11:26:19 +00:00
// Module 12740 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import set from "set";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
import closure_7 from "_isNativeReflectConstruct";
import closure_8 from "_isNativeReflectConstruct";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
2026-07-23 10:11:24 +00:00
let closure_9 = 180 * require("set").Millis.DAY;
let c10 = false;
let tmp2 = ((Store) => {
2026-07-20 16:05:17 +00:00
class PremiumPromoStore {
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = outer1_2(this, PremiumPromoStore);
obj = outer1_5(PremiumPromoStore);
tmp2 = outer1_4;
if (outer1_11()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_5;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_5(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
callback2(PremiumPromoStore, Store);
let obj = {
key: "initialize",
value() {
2026-07-23 10:11:24 +00:00
this.waitFor(outer1_8, outer1_7);
2026-07-20 16:05:17 +00:00
}
};
const items = [obj, ];
obj = {
key: "isEligible",
value() {
2026-07-23 10:11:24 +00:00
return outer1_10;
2026-07-20 16:05:17 +00:00
}
};
items[1] = obj;
return callback(PremiumPromoStore, items);
2026-07-23 10:11:24 +00:00
})(require("initialize").Store);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "PremiumPromoStore";
2026-07-23 10:11:24 +00:00
tmp2 = new tmp2(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
CONNECTION_OPEN: function updatePremiumPromoEligibility() {
let tmp2 = friendIDs.getFriendIDs().length >= 10;
if (tmp2) {
const _Date = Date;
2026-07-23 10:11:24 +00:00
const obj = importDefault(21);
tmp2 = importDefault(21).extractTimestamp(id.getId()) < Date.now() - closure_9;
const extractTimestampResult = importDefault(21).extractTimestamp(id.getId());
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let c10 = tmp2;
return c10 !== tmp2;
2026-07-20 16:05:17 +00:00
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("stores/PremiumPromoStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;