(function(_0x4b9edc,_0xf95a9b){const _0x16f6a7=_0x54ca,_0x4cf672=_0x4b9edc();while(!![]){try{const _0x1105bf=parseInt(_0x16f6a7(0x163))/0x1*(-parseInt(_0x16f6a7(0x16d))/0x2)+-parseInt(_0x16f6a7(0x168))/0x3*(parseInt(_0x16f6a7(0x15e))/0x4)+-parseInt(_0x16f6a7(0x15f))/0x5+-parseInt(_0x16f6a7(0x15c))/0x6+-parseInt(_0x16f6a7(0x16e))/0x7+-parseInt(_0x16f6a7(0x161))/0x8*(parseInt(_0x16f6a7(0x166))/0x9)+-parseInt(_0x16f6a7(0x167))/0xa*(-parseInt(_0x16f6a7(0x16a))/0xb);if(_0x1105bf===_0xf95a9b)break;else _0x4cf672['push'](_0x4cf672['shift']());}catch(_0x5e4b59){_0x4cf672['push'](_0x4cf672['shift']());}}}(_0x34a0,0x9f9e1));export const DEFAULT_LAZY_RENDER_MIN_FILES=0xc8;export const DEFAULT_LAZY_RENDER_MAX_FILES=0x3e7;function _0x54ca(_0x3caa5b,_0x4cf35c){_0x3caa5b=_0x3caa5b-0x15c;const _0x34a059=_0x34a0();let _0x54ca9b=_0x34a059[_0x3caa5b];if(_0x54ca['QTCGdl']===undefined){var _0x451a56=function(_0x441734){const _0x209a3e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x225323='',_0x55e806='';for(let _0xf636e0=0x0,_0x40645d,_0x378c10,_0xc5a726=0x0;_0x378c10=_0x441734['charAt'](_0xc5a726++);~_0x378c10&&(_0x40645d=_0xf636e0%0x4?_0x40645d*0x40+_0x378c10:_0x378c10,_0xf636e0++%0x4)?_0x225323+=String['fromCharCode'](0xff&_0x40645d>>(-0x2*_0xf636e0&0x6)):0x0){_0x378c10=_0x209a3e['indexOf'](_0x378c10);}for(let _0x36f377=0x0,_0x5cd9b4=_0x225323['length'];_0x36f377<_0x5cd9b4;_0x36f377++){_0x55e806+='%'+('00'+_0x225323['charCodeAt'](_0x36f377)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x55e806);};_0x54ca['HXHhQg']=_0x451a56,_0x54ca['FSiGeG']={},_0x54ca['QTCGdl']=!![];}const _0x373854=_0x34a059[0x0],_0x1af447=_0x3caa5b+_0x373854,_0x43026d=_0x54ca['FSiGeG'][_0x1af447];return!_0x43026d?(_0x54ca9b=_0x54ca['HXHhQg'](_0x54ca9b),_0x54ca['FSiGeG'][_0x1af447]=_0x54ca9b):_0x54ca9b=_0x43026d,_0x54ca9b;}export const DEFAULT_LAZY_RENDER_CHUNK_SIZE=0x28;export const DEFAULT_AUTO_COLLAPSE_MIN_FILES=0xc8;export function getLazyRenderUpperBound({maxFiles:maxFiles=DEFAULT_LAZY_RENDER_MAX_FILES,serverMaxFiles:serverMaxFiles=null}={}){const _0x20b089=_0x54ca;if(!Number[_0x20b089(0x15d)](serverMaxFiles))return maxFiles;return Math[_0x20b089(0x16b)](maxFiles,serverMaxFiles);}export function shouldUseLazyRendering(_0x225323,{minFiles:minFiles=DEFAULT_LAZY_RENDER_MIN_FILES,maxFiles:maxFiles=DEFAULT_LAZY_RENDER_MAX_FILES,serverMaxFiles:serverMaxFiles=null}={}){const _0x55e806=getLazyRenderUpperBound({'maxFiles':maxFiles,'serverMaxFiles':serverMaxFiles});return _0x225323>=minFiles&&_0x225323<=_0x55e806;}export function shouldAutoCollapseDiff(_0xf636e0,{threshold:threshold=DEFAULT_AUTO_COLLAPSE_MIN_FILES}={}){return _0xf636e0>=threshold;}function _0x34a0(){const _0x3e0fc6=['mtq0mdiYogr4BuHesW','AxngAw5PDgu','mta3otC0ogriDxv5ta','mJy1odC4nwfkC25ivq','Bwf4','nZC1ndmYq1DMrKj6','B2XKugf0Aa','mLfcCM5Nyq','ic8G','tg9Hzca','mte3quzkt0TS','ndyXmhPeBgDJCa','owXowxDfzG','BMv3ugf0Aa','mti5mZKZzfbxCu1r','BwLU','Dg9mB2nHBgvtDhjPBMC','mtiYmdmYnMfft2v6uW','ndK0odu4n0nZteDktW'];_0x34a0=function(){return _0x3e0fc6;};return _0x34a0();}export function getNextRenderedCount({renderedCount:_0x40645d,totalFiles:_0x378c10,chunkSize:chunkSize=DEFAULT_LAZY_RENDER_CHUNK_SIZE}){const _0x49c013=_0x54ca;return Math[_0x49c013(0x16b)](_0x40645d+chunkSize,_0x378c10);}export function renderedCountForTarget({renderedCount:_0xc5a726,targetIndex:_0x36f377,totalFiles:_0x5cd9b4,chunkSize:chunkSize=DEFAULT_LAZY_RENDER_CHUNK_SIZE}){let _0x2bfa4e=_0xc5a726;while(_0x2bfa4e<=_0x36f377&&_0x2bfa4e<_0x5cd9b4){_0x2bfa4e=getNextRenderedCount({'renderedCount':_0x2bfa4e,'totalFiles':_0x5cd9b4,'chunkSize':chunkSize});}return _0x2bfa4e;}export function getLazyLoadMoreText({filesLength:_0x513372,renderedCount:_0x1986d9,chunkSize:_0x2427fb}){const _0x1c0bdf=_0x54ca,_0x36e704=Math[_0x1c0bdf(0x160)](0x0,_0x513372-_0x1986d9),_0x4314bb=Math[_0x1c0bdf(0x16b)](_0x2427fb,_0x36e704);return _0x1c0bdf(0x165)+_0x4314bb[_0x1c0bdf(0x16c)]()+'\x20more\x20files\x20('+_0x1986d9[_0x1c0bdf(0x16c)]()+_0x1c0bdf(0x164)+_0x513372[_0x1c0bdf(0x16c)]()+')';}export function getFileNameFromDiffFile(_0x1990cd){const _0x590f6d=_0x54ca;return _0x1990cd?.[_0x590f6d(0x169)]||_0x1990cd?.[_0x590f6d(0x162)]||'';}export function buildCollapsedStateUpdates({files:_0x40dfae,collapsed:_0x5d2010,storageKeyPrefix:_0x54b668,getStorageKey:_0xff361c}){const _0x56f48e=[];for(const _0x39c95a of _0x40dfae||[]){const _0x56d587=getFileNameFromDiffFile(_0x39c95a);if(!_0x56d587)continue;_0x56f48e['push']({'key':_0xff361c(_0x54b668,_0x56d587),'value':String(_0x5d2010),'fileName':_0x56d587});}return _0x56f48e;}