decord/beta/source/utils/BraintreeUtils.tsx
github-actions 19e52f659f chore: update source for beta 347.11
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-26 17:57:22 +00:00

90 lines
3.3 KiB
TypeScript

// Module ID: 4462
// Function ID: 4463
// Name: BraintreeUtils
// Dependencies: [4463, 1074, 4464, 4467, 1980, 4467, 2]
// Exports: collectDeviceData, getBraintreeSDK
// Module 4462 (BraintreeUtils)
import core_CodeSplittingUtils from "core/CodeSplittingUtils" /* 4464 */;
import BraintreeStore from "BraintreeStore" /* 4463 */;
require = fn;
const PaymentSettings = fn(1074).PaymentSettings;
const size = fn(2);
const result = size.fileFinishedImporting("utils/BraintreeUtils.tsx");
export const getBraintreeSDK = function getBraintreeSDK() {
const obj2 = {
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4467
};
return core_CodeSplittingUtils.importWithRetry({
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4467
}).then((result) => result.default);
};
export const collectDeviceData = function collectDeviceData() {
let client = BraintreeStore.getClient();
if (null == client) {
let obj2 = {
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4467
};
let importWithRetryResult = core_CodeSplittingUtils.importWithRetry(obj2);
let nextPromise1 = core_CodeSplittingUtils.importWithRetry(obj2).then((result) => result.default).then((client) => {
client = client.client;
let obj = { authorization: constants.BRAINTREE.KEY };
let obj2 = client.create({ authorization: constants.BRAINTREE.KEY });
return client.create({ authorization: constants.BRAINTREE.KEY }).then((result) => {
client = result;
let obj = client(4464);
let obj2 = {
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4467
};
const importWithRetryResult = client(4464).importWithRetry({
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4467
});
return client(4464).importWithRetry({
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4467
}).then((result) => result.default).then((dataCollector) => {
dataCollector = dataCollector.dataCollector;
const obj = { client };
const obj2 = dataCollector.create({ client });
return dataCollector.create({ client }).then((deviceData) => deviceData.deviceData).catch(() => null);
});
}).catch(() => null);
});
const nextPromise = core_CodeSplittingUtils.importWithRetry(obj2).then((result) => result.default);
} else {
const obj4 = {
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4467
};
const importWithRetryResult1 = core_CodeSplittingUtils.importWithRetry(obj4);
nextPromise1 = core_CodeSplittingUtils.importWithRetry(obj4).then((result) => result.default).then((dataCollector) => {
dataCollector = dataCollector.dataCollector;
const obj = { client };
const obj2 = dataCollector.create({ client });
return dataCollector.create({ client }).then((deviceData) => deviceData.deviceData).catch(() => null);
});
const nextPromise2 = core_CodeSplittingUtils.importWithRetry(obj4).then((result) => result.default);
}
return nextPromise1;
};