Files
2026-07-28 01:06:53 +03:00

86 lines
4.5 KiB
TypeScript

/* Metro module 4228; source: modules/billing/actions/StripeActionCreators.tsx; dependencies: [5, 661, 507, 2] */
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
function _fun34891(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34891, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4399:6, offset: 0x010652e6, size: 158 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const value = _fun34895();
(FileImportTrackerModule).fileFinishedImporting('modules/billing/actions/StripeActionCreators.tsx');
exports.createStripeSetupIntent = function() {
return _createStripeSetupIntent.apply(this, arguments);
};
exports.createSetupIntentForPaymentElements = value;
function _createStripeSetupIntent() { // fn#34892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4399:126, offset: 0x01065384, size: 48 bytes, params: 1, frame: 14
return Module00005(_fun34894).apply(this, arguments);
async function _fun34894() { // fn#34894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4399:197, offset: 0x010653c6, size: 130 bytes, params: 1, frame: 17
let value = a0;
if (false) {
return undefined;
}
const r5 = value !== undefined ? value : {};
await undefined;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
const binding = env2_0;
const binding2 = env2_1;
const HTTP = binding(binding2[2]).HTTP;
const post = HTTP.post;
const object = {'url': null, 'oldFormErrors': true, 'rejectWithError': true};
const BILLING_STRIPE_SETUP_INTENT_SECRET = env2_3.BILLING_STRIPE_SETUP_INTENT_SECRET;
object.url = BILLING_STRIPE_SETUP_INTENT_SECRET;
copyDataProperties(object, r5, binding2);
await Reflect.apply(post, HTTP, [object]);
value = undefined;
if (false) {
return value;
}
return value.body;
}
}
function _fun34895() { // fn#34895, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4399:367, offset: 0x01065448, size: 32 bytes, params: 1, frame: 12
const env0_0 = Module00005(_fun34897);
return _fun34898;
async function _fun34897() { // fn#34897, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4399:387, offset: 0x0106547a, size: 130 bytes, params: 1, frame: 17
let value = a0;
if (false) {
return undefined;
}
const r5 = value !== undefined ? value : {};
await undefined;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
const binding = env2_0;
const binding2 = env2_1;
const HTTP = binding(binding2[2]).HTTP;
const post = HTTP.post;
const object = {'url': null, 'oldFormErrors': true, 'rejectWithError': true, 'failImmediatelyWhenRateLimited': true};
const BILLING_STRIPE_SETUP_INTENT_SECRET_FOR_PAYMENT_ELEMENTS = env2_3.BILLING_STRIPE_SETUP_INTENT_SECRET_FOR_PAYMENT_ELEMENTS;
object.url = BILLING_STRIPE_SETUP_INTENT_SECRET_FOR_PAYMENT_ELEMENTS;
copyDataProperties(object, r5, binding2);
await Reflect.apply(post, HTTP, [object]);
value = undefined;
if (false) {
return value;
}
return value.body;
}
function _fun34898() { // fn#34898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4399:590, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
}
global.__d(_fun34891, 4228, [5, 661, 507, 2]) /* metro module 4228, dependencies: [5, 661, 507, 2] */;