decord/beta/source/modules/image_upload/AttachmentImageLadderExperiment.tsx

28 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 1451
// Function ID: 1452
// Name: AttachmentImageLadderExperiment
2026-10-12 16:32:48 +00:00
// Dependencies: [1452, 1453, 2]
// Exports: getAttachmentImageLadderConfig
2026-10-12 16:32:48 +00:00
// Module 1451 (AttachmentImageLadderExperiment)
import AttachmentImageLadder from "AttachmentImageLadder" /* 1452 */;
import ApexExperiment from "ApexExperiment" /* 1453 */;
import size from "module_2" /* 2 */;
2026-10-01 14:13:23 +00:00
let obj3;
let obj = { enabled: false, maxUpscale: AttachmentImageLadder.ATTACHMENT_LADDER_MAX_UPSCALE, minSnapDownDpr: 2 };
const obj2 = { name: "2026-07-attachment-image-ladder", kind: "user", defaultConfig: obj, variations: obj3 };
obj3 = { 0: obj, 1: null };
const createApexExperiment = ApexExperiment.createApexExperiment;
const obj4 = { enabled: true };
const merged = Object.assign(obj);
obj3[1] = obj4;
2026-10-01 14:13:23 +00:00
const apexExperiment = createApexExperiment(obj2);
const result = size.fileFinishedImporting("modules/image_upload/AttachmentImageLadderExperiment.tsx");
export default apexExperiment;
export const getAttachmentImageLadderConfig = function getAttachmentImageLadderConfig(location) {
2026-10-01 14:13:23 +00:00
const obj = { location: location.location };
return apexExperiment.getConfig(obj);
};