var g_track_code_directory_locations=tracker['start']('startup:\x20d'+'irectory_l'+'ocations'),platform='unknown',OSVersion=csInterface['getOSInfor'+'mation']();OSVersion!==null?OSVersion['indexOf']('Windows')<-0x8dd*0x2+-0x2b*-0x7f+0xd*-0x47?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 Y={'hCsOY':function(Q,g){return Q(g);}};return Y['hCsOY'](String,this);});const app_names={'cep':'FireCut'},app_name=app_names[engine];function setupDirs(Y){var Q={'OeIqq':function(g,N){return g==N;},'VimAg':'mac','Ccogr':'Detected\x20m'+'ac','BOgHl':'ppro','cuYmn':'export_pre'+'sets','ahPoq':'assets','ApIRF':'Library','DlJFJ':'Applicatio'+'n\x20Support','NKUzW':'Media','FCjsa':'Temp','GjbeS':'Adobe','truZF':'CoreSync','sjFeK':'livetype','Bjkrv':'plugins'};return Q['OeIqq'](platform,Q['VimAg'])?(console['log'](Q['Ccogr']),[path['join'](__dirname,'assets',Q['BOgHl'],Q['cuYmn']),path['join'](__dirname,Q['ahPoq'],'ppro'),path['join'](process['env']['HOME'],Q['ApIRF'],Q['DlJFJ'],Y),path['join'](process['env']['HOME'],Q['ApIRF'],'Applicatio'+'n\x20Support',Y,Q['NKUzW']),path['join'](process['env']['HOME'],'Library',Q['DlJFJ'],Y,Q['FCjsa']),path['join'](process['env']['HOME'],Q['ApIRF'],Q['DlJFJ'],Q['GjbeS'],Q['truZF'],'plugins',Q['sjFeK'],'.c'),path['join'](process['env']['HOME'],Q['ApIRF'],Q['DlJFJ'],'Adobe',Q['truZF'],Q['Bjkrv'],Q['sjFeK'],'.r')]):[path['join'](__dirname,'assets',Q['BOgHl'],Q['cuYmn']),path['join'](__dirname,Q['ahPoq'],Q['BOgHl']),path['join'](process['env']['APPDATA'],Y),path['join'](process['env']['APPDATA'],Y,Q['NKUzW']),path['join'](process['env']['APPDATA'],Y,Q['FCjsa']),path['join'](process['env']['APPDATA'],'Adobe','CoreSync',Q['Bjkrv'],Q['sjFeK'],'c'),path['join'](process['env']['APPDATA'],Q['GjbeS'],Q['truZF'],Q['Bjkrv'],Q['sjFeK'],'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);