decord/source/modules/age_assurance/AgeVerificationMethodsV2.tsx

52 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 7726
// Function ID: 7727
2026-07-24 07:16:23 +00:00
// Name: _fetchAgeVerificationMethodsV
2026-07-31 08:44:05 +00:00
// Dependencies: [5, 676, 530, 2]
2026-07-24 07:16:23 +00:00
// Exports: fetchAgeVerificationMethodsV2
2026-08-05 07:35:12 +00:00
// Module 7726 (_fetchAgeVerificationMethodsV)
2026-07-31 08:44:05 +00:00
import asyncGeneratorStep from "asyncGeneratorStep";
2026-07-24 07:16:23 +00:00
import { Endpoints } from "ME";
const require = arg1;
2026-07-29 08:29:29 +00:00
function _fetchAgeVerificationMethodsV() {
const self = this;
const tmp = callback(function*() {
2026-08-04 21:03:28 +00:00
let closure_0 = tmp2;
const HTTP = outer1_0(table[2]).HTTP;
const obj1 = { url: null, rejectWithError: true };
obj1[0] = outer1_3.AGE_VERIFICATION_METHODS_V2;
yield HTTP.get(obj1);
const methods = arg1.body.methods;
return methods.map((method) => {
const obj = { method: method.method, vendor: method.vendor, title: method.title, description: method.description, providedBy: null };
let provided_by = method.provided_by;
if (provided_by == null) {
provided_by = null;
2026-07-29 08:29:29 +00:00
}
2026-08-04 21:03:28 +00:00
obj[4] = provided_by;
return obj;
});
2026-07-24 07:16:23 +00:00
});
2026-07-29 08:29:29 +00:00
const _fetchAgeVerificationMethodsV = tmp;
const apply = tmp.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-24 07:16:23 +00:00
}
2026-07-31 08:44:05 +00:00
const result = require("sendRequest").fileFinishedImporting("modules/age_assurance/AgeVerificationMethodsV2.tsx");
2026-07-24 07:16:23 +00:00
export const fetchAgeVerificationMethodsV2 = function fetchAgeVerificationMethodsV2() {
2026-07-29 08:29:29 +00:00
const self = this;
const apply = _fetchAgeVerificationMethodsV.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
2026-07-24 07:16:23 +00:00
};