Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,93 @@
|
||||
/* Metro module 7011; source: modules/billing/stores/WalletBalanceStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */
|
||||
function _fun55524(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#55524, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7189:6, offset: 0x013a95ff, size: 343 bytes, params: 8, frame: 19
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
||||
let env0_5 = {};
|
||||
let Set = global.Set;
|
||||
let set = new Set();
|
||||
const Store = (importDefault(566) /* metro dependency 566: flux */).Store;
|
||||
_fun55528(Store).displayName = 'WalletBalanceStore';
|
||||
set = new set(importDefault(694) /* metro dependency 694: Dispatcher */,
|
||||
{BILLING_WALLET_BALANCE_FETCH_START: BILLING_WALLET_BALANCE_FETCH_START,
|
||||
BILLING_WALLET_BALANCE_FETCH_SUCCESS: BILLING_WALLET_BALANCE_FETCH_SUCCESS,
|
||||
BILLING_WALLET_BALANCE_FETCH_FAIL: BILLING_WALLET_BALANCE_FETCH_FAIL,
|
||||
WALLET_BALANCE_UPDATE: WALLET_BALANCE_UPDATE, LOGOUT: function() {
|
||||
env0_5 = {};
|
||||
var Set = global.Set;
|
||||
var value3 = new Set();
|
||||
}});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/billing/stores/WalletBalanceStore.tsx');
|
||||
exports.default = set;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_55525() { // fn#55525, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7189:148, offset: 0x013a9756, size: 94 bytes, params: 1, frame: 18
|
||||
var Boolean;
|
||||
var prototype;
|
||||
var valueOf;
|
||||
var call;
|
||||
var Reflect;
|
||||
var construct;
|
||||
var closure;
|
||||
var value;
|
||||
var error;
|
||||
try {
|
||||
Boolean = global.Boolean;
|
||||
prototype = Boolean.prototype;
|
||||
valueOf = prototype.valueOf;
|
||||
call = valueOf.call;
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
Boolean = global.Boolean;
|
||||
closure = function() {
|
||||
};
|
||||
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
||||
value = Reflect.apply(call, valueOf, [value]);
|
||||
var result = !value;
|
||||
} catch (error) {
|
||||
}
|
||||
return (_isNativeReflectConstruct_55525_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun55528(a0) { // fn#55528, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7189:366, offset: 0x013a97b4, size: 93 bytes, params: 2, frame: 16
|
||||
const closure = WalletBalanceStore;
|
||||
env0_4(closure, a0);
|
||||
return env0_1(closure, [{key: 'getBalance', value: value_55530}, {key: 'getIsFetching', value: value_55531}]);
|
||||
}
|
||||
|
||||
function BILLING_WALLET_BALANCE_FETCH_START({paymentSourceId}) { // fn#55532, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7189:901, offset: 0x013a9811, size: 62 bytes, params: 2, frame: 12
|
||||
const Set = global.Set;
|
||||
const binding = env0_6;
|
||||
const value2 = Object.create(Set.prototype, {constructor: {value: Set}});
|
||||
const set = new Set(binding);
|
||||
(set instanceof Object ? set : value2).add(paymentSourceId);
|
||||
}
|
||||
|
||||
function BILLING_WALLET_BALANCE_FETCH_SUCCESS(a0) { // fn#55533, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7189:1006, offset: 0x013a984f, size: 114 bytes, params: 2, frame: 15
|
||||
const Set = global.Set;
|
||||
new Set(env0_6).delete(a0.paymentSourceId);
|
||||
const object2 = {};
|
||||
copyDataProperties(object2, env0_5, undefined);
|
||||
object2[a0.paymentSourceId] = {currency: a0.currency, amount: a0.amount};
|
||||
}
|
||||
|
||||
function BILLING_WALLET_BALANCE_FETCH_FAIL({paymentSourceId}) { // fn#55534, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7189:1180, offset: 0x013a98c1, size: 62 bytes, params: 2, frame: 12
|
||||
const Set = global.Set;
|
||||
const binding = env0_6;
|
||||
const value2 = Object.create(Set.prototype, {constructor: {value: Set}});
|
||||
const set = new Set(binding);
|
||||
(set instanceof Object ? set : value2).delete(paymentSourceId);
|
||||
}
|
||||
|
||||
function WALLET_BALANCE_UPDATE({paymentSourceId, currency, balance}) { // fn#55535, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7189:1272, offset: 0x013a98ff, size: 62 bytes, params: 2, frame: 15
|
||||
const object2 = {};
|
||||
copyDataProperties(object2, env0_5, undefined);
|
||||
object2[paymentSourceId] = {currency: currency, amount: balance};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user