(function(_0x4613d5,_0x1673d6){const _0x4074fe=_0x363e,_0xdc8f9c=_0x4613d5();while(!![]){try{const _0x1ad113=-parseInt(_0x4074fe(0x19d))/0x1*(parseInt(_0x4074fe(0x191))/0x2)+parseInt(_0x4074fe(0x198))/0x3+parseInt(_0x4074fe(0x194))/0x4*(-parseInt(_0x4074fe(0x19e))/0x5)+parseInt(_0x4074fe(0x19a))/0x6+parseInt(_0x4074fe(0x19f))/0x7*(parseInt(_0x4074fe(0x19b))/0x8)+parseInt(_0x4074fe(0x193))/0x9+parseInt(_0x4074fe(0x19c))/0xa*(-parseInt(_0x4074fe(0x196))/0xb);if(_0x1ad113===_0x1673d6)break;else _0xdc8f9c['push'](_0xdc8f9c['shift']());}catch(_0x3aa023){_0xdc8f9c['push'](_0xdc8f9c['shift']());}}}(_0x1426,0x73d00));export const DEFAULT_LAZY_RENDER_MIN_FILES=0xc8;export const DEFAULT_LAZY_RENDER_MAX_FILES=0x3e7;function _0x363e(_0x7a6111,_0x14e920){_0x7a6111=_0x7a6111-0x191;const _0x14260d=_0x1426();let _0x363eb3=_0x14260d[_0x7a6111];if(_0x363e['iyRlpc']===undefined){var _0x203789=function(_0x21b238){const _0x51c9d9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x504722='',_0x1c5843='';for(let _0x5a784c=0x0,_0x544668,_0x15f855,_0x4ede36=0x0;_0x15f855=_0x21b238['charAt'](_0x4ede36++);~_0x15f855&&(_0x544668=_0x5a784c%0x4?_0x544668*0x40+_0x15f855:_0x15f855,_0x5a784c++%0x4)?_0x504722+=String['fromCharCode'](0xff&_0x544668>>(-0x2*_0x5a784c&0x6)):0x0){_0x15f855=_0x51c9d9['indexOf'](_0x15f855);}for(let _0x35ad55=0x0,_0x2ce240=_0x504722['length'];_0x35ad55<_0x2ce240;_0x35ad55++){_0x1c5843+='%'+('00'+_0x504722['charCodeAt'](_0x35ad55)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1c5843);};_0x363e['AgCTlz']=_0x203789,_0x363e['VcTvBG']={},_0x363e['iyRlpc']=!![];}const _0x362a28=_0x14260d[0x0],_0x4891ea=_0x7a6111+_0x362a28,_0x4f4d74=_0x363e['VcTvBG'][_0x4891ea];return!_0x4f4d74?(_0x363eb3=_0x363e['AgCTlz'](_0x363eb3),_0x363e['VcTvBG'][_0x4891ea]=_0x363eb3):_0x363eb3=_0x4f4d74,_0x363eb3;}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 _0x5d9472=_0x363e;if(!Number[_0x5d9472(0x1a2)](serverMaxFiles))return maxFiles;return Math[_0x5d9472(0x197)](maxFiles,serverMaxFiles);}export function shouldUseLazyRendering(_0x504722,{minFiles:minFiles=DEFAULT_LAZY_RENDER_MIN_FILES,maxFiles:maxFiles=DEFAULT_LAZY_RENDER_MAX_FILES,serverMaxFiles:serverMaxFiles=null}={}){const _0x1c5843=getLazyRenderUpperBound({'maxFiles':maxFiles,'serverMaxFiles':serverMaxFiles});return _0x504722>=minFiles&&_0x504722<=_0x1c5843;}export function shouldAutoCollapseDiff(_0x5a784c,{threshold:threshold=DEFAULT_AUTO_COLLAPSE_MIN_FILES}={}){return _0x5a784c>=threshold;}function _0x1426(){const _0x2655f3=['nhPMqwHMCa','mJbgzuL3DNu','n2f3BvfHqW','tg9Hzca','B2XKugf0Aa','AxngAw5PDgu','BMv3ugf0Aa','mtG5odCYDwfhsw1P','Bwf4','mtqWmte0n2nWEKXXwq','oduZnZGWqKXYrurZ','ChvZAa','mJjvz0j2EeK','BwLU','nJG2mtqYyMDSBNnu','Dg9mB2nHBgvtDhjPBMC','mZu5mty2merbA2DPwG','nJGYnJC3nNHNrM9grW','nJqYmZeWD3D4senb'];_0x1426=function(){return _0x2655f3;};return _0x1426();}export function getNextRenderedCount({renderedCount:_0x544668,totalFiles:_0x15f855,chunkSize:chunkSize=DEFAULT_LAZY_RENDER_CHUNK_SIZE}){const _0x5d8693=_0x363e;return Math[_0x5d8693(0x197)](_0x544668+chunkSize,_0x15f855);}export function renderedCountForTarget({renderedCount:_0x4ede36,targetIndex:_0x35ad55,totalFiles:_0x2ce240,chunkSize:chunkSize=DEFAULT_LAZY_RENDER_CHUNK_SIZE}){let _0x34d3e9=_0x4ede36;while(_0x34d3e9<=_0x35ad55&&_0x34d3e9<_0x2ce240){_0x34d3e9=getNextRenderedCount({'renderedCount':_0x34d3e9,'totalFiles':_0x2ce240,'chunkSize':chunkSize});}return _0x34d3e9;}export function getLazyLoadMoreText({filesLength:_0x3cae4d,renderedCount:_0x46e542,chunkSize:_0xc25af2}){const _0x207f2c=_0x363e,_0x11a655=Math[_0x207f2c(0x192)](0x0,_0x3cae4d-_0x46e542),_0x539c90=Math[_0x207f2c(0x197)](_0xc25af2,_0x11a655);return _0x207f2c(0x1a0)+_0x539c90[_0x207f2c(0x199)]()+'\x20more\x20files\x20('+_0x46e542[_0x207f2c(0x199)]()+'\x20/\x20'+_0x3cae4d[_0x207f2c(0x199)]()+')';}export function getFileNameFromDiffFile(_0x325f42){const _0x21ef37=_0x363e;return _0x325f42?.[_0x21ef37(0x1a3)]||_0x325f42?.[_0x21ef37(0x1a1)]||'';}export function buildCollapsedStateUpdates({files:_0x4da68a,collapsed:_0x866f50,storageKeyPrefix:_0x105197,getStorageKey:_0x51ba7d}){const _0x2e2951=_0x363e,_0x44264f=[];for(const _0x59c13e of _0x4da68a||[]){const _0x9bd9bf=getFileNameFromDiffFile(_0x59c13e);if(!_0x9bd9bf)continue;_0x44264f[_0x2e2951(0x195)]({'key':_0x51ba7d(_0x105197,_0x9bd9bf),'value':String(_0x866f50),'fileName':_0x9bd9bf});}return _0x44264f;}