decord/beta/source/modules/image_upload/AttachmentImageLadderExperiment.tsx
github-actions 84d017ff78 chore: update source for beta 348.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-28 16:18:32 +00:00

26 lines
1.1 KiB
TypeScript

// Module ID: 1433
// Function ID: 1434
// Name: AttachmentImageLadderExperiment
// Dependencies: [1434, 1435, 2]
// Exports: getAttachmentImageLadderConfig
// Module 1433 (AttachmentImageLadderExperiment)
import AttachmentImageLadder from "AttachmentImageLadder" /* 1434 */;
import ApexExperiment from "ApexExperiment" /* 1435 */;
import size from "module_2" /* 2 */;
const obj = { enabled: false, maxUpscale: AttachmentImageLadder.ATTACHMENT_LADDER_MAX_UPSCALE, minSnapDownDpr: 2 };
const obj2 = { name: "2026-07-attachment-image-ladder", kind: "user", defaultConfig: obj, variations: null };
const obj3 = { 0: obj, 1: null };
const obj4 = {};
const merged = Object.assign(obj);
obj4.enabled = true;
obj3[1] = obj4;
obj2.variations = obj3;
const apexExperiment = ApexExperiment.createApexExperiment(obj2);
const result = size.fileFinishedImporting("modules/image_upload/AttachmentImageLadderExperiment.tsx");
export default apexExperiment;
export const getAttachmentImageLadderConfig = function getAttachmentImageLadderConfig(location) {
return apexExperiment.getConfig({ location: location.location });
};