export const ATTACHMENT_MAX_FILES=0x19;export const ATTACHMENT_MAX_FILE_SIZE_BYTES=0x32*0x400*0x400;export function computeAttachmentFilter(_0x567abc,_0x536b47,_0x57fba4={}){const _0x2274ae=_0x57fba4['maxFiles']??ATTACHMENT_MAX_FILES,_0x566b35=_0x57fba4['maxFileSizeBytes']??ATTACHMENT_MAX_FILE_SIZE_BYTES,_0x11f0dd=[],_0x58c8c2=[];let _0x460e3a=Math['max'](0x0,_0x2274ae-_0x536b47);for(const _0x2c3ca4 of _0x567abc||[]){if(_0x2c3ca4['size']>_0x566b35){_0x58c8c2['push'](_0x2c3ca4['name']||'(unnamed)');continue;}if(_0x460e3a<=0x0)continue;_0x11f0dd['push'](_0x2c3ca4),_0x460e3a--;}const _0x575676=(_0x567abc||[])['length'],_0x35f0e8=_0x575676-_0x11f0dd['length']-_0x58c8c2['length'];return{'accepted':_0x11f0dd,'rejectedForSize':_0x58c8c2,'rejectedForCount':_0x35f0e8,'limits':{'maxFiles':_0x2274ae,'maxFileSizeBytes':_0x566b35}};}