var g_track_code_directory_locations=tracker['start']('startup:\x20d'+'irectory_l'+'ocations'),platform='unknown',OSVersion=csInterface['getOSInfor'+'mation']();OSVersion!==null?OSVersion['indexOf']('Windows')<-0x799+-0x1c4b*-0x1+-0x14b2?platform='mac':platform='win':platform='win';console['log']('platform',platform);if(platform=='win')String['prototype']['toCEP']=function(){return this['replace'](/\\/g,'\x5c\x5c');};else platform=='mac'&&(String['prototype']['toCEP']=function(){var t={'MDJLD':function(K,e){return K(e);}};return t['MDJLD'](String,this);});const app_names={'cep':'FireCut','nw':'FireCut\x20De'+'sktop','web':'FireCut\x20We'+'b'},app_name=app_names[engine];function setupDirs(t){var K={'TxEEh':function(e,O){return e==O;},'JPKPZ':'mac','epoYM':'Detected\x20m'+'ac','gwRIJ':'assets','Xjkly':'ppro','LVibw':'export_pre'+'sets','LbDkW':'Applicatio'+'n\x20Support','gKYyc':'Library','XYwTi':'Media','Jacng':'Temp','KxfNZ':'Adobe','Iwmrd':'CoreSync','HZRQg':'plugins','useNQ':'livetype'};return K['TxEEh'](platform,K['JPKPZ'])?(console['log'](K['epoYM']),[path['join'](__dirname,K['gwRIJ'],K['Xjkly'],K['LVibw']),path['join'](__dirname,K['gwRIJ'],K['Xjkly']),path['join'](process['env']['HOME'],'Library',K['LbDkW'],t),path['join'](process['env']['HOME'],K['gKYyc'],'Applicatio'+'n\x20Support',t,K['XYwTi']),path['join'](process['env']['HOME'],K['gKYyc'],K['LbDkW'],t,K['Jacng']),path['join'](process['env']['HOME'],'Library',K['LbDkW'],K['KxfNZ'],K['Iwmrd'],K['HZRQg'],'livetype','.c'),path['join'](process['env']['HOME'],K['gKYyc'],'Applicatio'+'n\x20Support',K['KxfNZ'],K['Iwmrd'],K['HZRQg'],K['useNQ'],'.r')]):[path['join'](__dirname,'assets','ppro',K['LVibw']),path['join'](__dirname,K['gwRIJ'],'ppro'),path['join'](process['env']['APPDATA'],t),path['join'](process['env']['APPDATA'],t,K['XYwTi']),path['join'](process['env']['APPDATA'],t,K['Jacng']),path['join'](process['env']['APPDATA'],K['KxfNZ'],K['Iwmrd'],K['HZRQg'],'livetype','c'),path['join'](process['env']['APPDATA'],K['KxfNZ'],K['Iwmrd'],K['HZRQg'],K['useNQ'],'r')];}const [DIR_encoders,DIR_assets,DIR_app_data_base,DIR_media,DIR_temporary_files,DIR_adobe_fonts_entitlements,DIR_adobe_fonts_otf]=setupDirs(app_name);console['log']('DIR_encode'+'rs',DIR_encoders),console['log']('DIR_assets',DIR_assets),console['log']('DIR_app_da'+'ta_base',DIR_app_data_base),console['log']('DIR_media',DIR_media),console['log']('DIR_tempor'+'ary_files',DIR_temporary_files),console['log']('DIR_adobe_'+'fonts_enti'+'tlements',DIR_adobe_fonts_entitlements),console['log']('DIR_adobe_'+'fonts_otf',DIR_adobe_fonts_otf);!fs['existsSync'](DIR_app_data_base)&&(console['log']('making\x20dir',DIR_app_data_base),fs['mkdirSync'](DIR_app_data_base));!fs['existsSync'](DIR_temporary_files)&&(console['log']('making\x20dir',DIR_temporary_files),fs['mkdirSync'](DIR_temporary_files));!fs['existsSync'](DIR_media)&&(console['log']('making\x20dir',DIR_media),fs['mkdirSync'](DIR_media));var ffmpeg_path,ffprobe_path;platform==='mac'?__dirname['includes']('app.asar')?(ffmpeg_path=path['join'](__dirname,'..','..','ffmpeg','mac','ffmpeg'),ffprobe_path=path['join'](__dirname,'..','..','ffmpeg','mac','ffprobe')):(ffmpeg_path=path['join'](__dirname,'ffmpeg','mac','ffmpeg'),ffprobe_path=path['join'](__dirname,'ffmpeg','mac','ffprobe')):__dirname['includes']('app.asar')?(ffmpeg_path=path['join'](__dirname,'..','..','ffmpeg','win','ffmpeg.exe'),ffprobe_path=path['join'](__dirname,'..','..','ffmpeg','win','ffprobe.ex'+'e')):(ffmpeg_path=path['join'](__dirname,'ffmpeg','win','ffmpeg.exe'),ffprobe_path=path['join'](__dirname,'ffmpeg','win','ffprobe.ex'+'e'));process['env']['FFMPEG_PAT'+'H']=ffmpeg_path,process['env']['FFPROBE_PA'+'TH']=ffprobe_path,tracker['end'](g_track_code_directory_locations);