var g_track_code_directory_locations=tracker['start']('startup:\x20d'+'irectory_l'+'ocations'),platform='unknown',OSVersion=csInterface['getOSInfor'+'mation']();OSVersion!==null?OSVersion['indexOf']('Windows')<0xe09+-0xa*-0x13+-0xec7?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 K={'ERbcS':function(n,M){return n(M);}};return K['ERbcS'](String,this);});const app_names={'cep':'FireCut'},app_name=app_names[engine];function setupDirs(K){var n={'rhjyy':function(M,Y){return M==Y;},'iclzE':'mac','VofrU':'Detected\x20m'+'ac','PiYPD':'assets','LkXtW':'ppro','TSLbT':'export_pre'+'sets','Lwkuk':'Applicatio'+'n\x20Support','aSpvj':'Media','UrKDu':'Library','OOlcC':'Temp','gcIDX':'Adobe','EKbjV':'CoreSync','xDsBo':'plugins','DjUyg':'livetype'};return n['rhjyy'](platform,n['iclzE'])?(console['log'](n['VofrU']),[path['join'](__dirname,n['PiYPD'],n['LkXtW'],n['TSLbT']),path['join'](__dirname,'assets',n['LkXtW']),path['join'](process.env.HOME,'Library',n['Lwkuk'],K),path['join'](process.env.HOME,'Library',n['Lwkuk'],K,n['aSpvj']),path['join'](process.env.HOME,n['UrKDu'],'Applicatio'+'n\x20Support',K,n['OOlcC']),path['join'](process.env.HOME,n['UrKDu'],n['Lwkuk'],n['gcIDX'],n['EKbjV'],n['xDsBo'],n['DjUyg'],'.c'),path['join'](process.env.HOME,n['UrKDu'],n['Lwkuk'],n['gcIDX'],n['EKbjV'],n['xDsBo'],n['DjUyg'],'.r')]):[path['join'](__dirname,n['PiYPD'],n['LkXtW'],n['TSLbT']),path['join'](__dirname,n['PiYPD'],n['LkXtW']),path['join'](process.env.APPDATA,K),path['join'](process.env.APPDATA,K,'Media'),path['join'](process.env.APPDATA,K,n['OOlcC']),path['join'](process.env.APPDATA,n['gcIDX'],'CoreSync',n['xDsBo'],'livetype','c'),path['join'](process.env.APPDATA,n['gcIDX'],'CoreSync',n['xDsBo'],n['DjUyg'],'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_PATH=ffmpeg_path,process.env.FFPROBE_PATH=ffprobe_path,tracker['end'](g_track_code_directory_locations);