decord/stable/source/utils/BraintreeUtils.tsx
github-actions 528a3dd5ba chore: update source for stable 345.9
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
2026-09-18 20:18:48 +00:00

90 lines
3.3 KiB
TypeScript

// Module ID: 4234
// Function ID: 4235
// Name: BraintreeUtils
// Dependencies: [4235, 1074, 4236, 4239, 1896, 4239, 2]
// Exports: collectDeviceData, getBraintreeSDK
// Module 4234 (BraintreeUtils)
import core_CodeSplittingUtils from "core/CodeSplittingUtils" /* 4236 */;
import BraintreeStore from "BraintreeStore" /* 4235 */;
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: 4239
};
return core_CodeSplittingUtils.importWithRetry({
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4239
}).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: 4239
};
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(4236);
let obj2 = {
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4239
};
const importWithRetryResult = client(4236).importWithRetry({
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4239
});
return client(4236).importWithRetry({
createPromise() {
return client(paths[4])(paths[3], paths.paths);
},
webpackId: 4239
}).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: 4239
};
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;
};