// Module ID: 12778 // Function ID: 12779 // Name: getAttachmentUploadAbortAlertContent // Dependencies: [676, 1236, 4955, 2] // Exports: getAttachmentUploadAbortAlertContent // Module 12778 (getAttachmentUploadAbortAlertContent) import set from "set" /* 2 */; import ME from "ME" /* 676 */; import getSystemLocale from "getSystemLocale" /* 1236 */; const AbortCodes = ME.AbortCodes; const result = set.fileFinishedImporting("modules/media_uploads/getAttachmentUploadAbortAlert.tsx"); export const getAttachmentUploadAbortAlertContent = function getAttachmentUploadAbortAlertContent(code) { const intl = getSystemLocale.intl; const stringResult = intl.string(getSystemLocale.t.B3vFdU); if (AbortCodes.TOTAL_ATTACHMENT_SIZE_TOO_LARGE === code) { let obj = { title: null, body: null }; obj[0] = stringResult; const intl4 = tmp(1236).intl; obj = { maxSizeMb: null }; obj[0] = tmp(4955).MAX_TOTAL_ATTACHMENT_SIZE_MB; obj[1] = intl4.formatToPlainString(tmp(1236).t.DYFPg2, obj); return obj; } else if (tmp4.CLOUD_UPLOAD_NOT_FOUND === code) { obj1 = { title: null, body: null }; obj1[0] = stringResult; const intl3 = tmp(1236).intl; obj1[1] = intl3.string(tmp(1236).t.bQldfH); return obj1; } else if (tmp4.INVALID_PERMISSIONS === code) { obj = { title: null, body: null }; obj[0] = stringResult; const intl2 = tmp(1236).intl; obj[1] = intl2.string(tmp(1236).t.zl4Weq); return obj; } else { return null; } };