async function translate_captions(t,K,e){const O=t;return tracker['event']('translate_'+'captions'),tracker['event']('translate_'+'captions:\x20'+'from\x20'+K+'\x20-\x20to\x20'+e),g_translate['load_capti'+'ons'](t,K,e),g_translate['segments_t'+'o_translat'+'e_text'](),await g_translate['translate_'+'text'](),O['segments']=g_translate['translated'+'_text_to_s'+'egments'](),O['words']=g_translate['fake_word_'+'level_accu'+'racy'](),O['text']=g_translate['get_transl'+'ated_text'](),O;}class CaptionsTranslate{['marker']='<t/>';['captions']=null;['original_t'+'ext']=null;['translated'+'_text']=null;['translated'+'_text_segm'+'ented']=null;['original_l'+'anguage']=null;['translate_'+'language']=null;['load_capti'+'ons'](t,K,e){this['captions']=t,this['original_l'+'anguage']=K,this['translate_'+'language']=e;}['segments_t'+'o_translat'+'e_text'](){const t={'FiXaV':function(e,O){return e+O;}};let K='';this['captions']['segments']['forEach'](e=>{K+=t['FiXaV'](''+this['marker'],e['text']);}),this['original_t'+'ext']=K;}async['translate_'+'text'](){const t={'bPOXz':function(z,h){return z+h;},'fxrya':'api/transl'+'ate/','MQoyM':function(z,y,h,V,T,s){return z(y,h,V,T,s);}},K=t['bPOXz'](API_URL,t['fxrya']),e={'license_key':apiKey_editai,'app_version':app_version,'text':this['original_t'+'ext'],'original_language':this['original_l'+'anguage'],'translate_language':this['translate_'+'language']},O=await t['MQoyM'](retryFetch,K,{'method':'POST','body':JSON['stringify'](e),'headers':{'Content-type':'applicatio'+'n/json;\x20ch'+'arset=UTF-'+'8'}},-0x847*0x3+-0x2bd*-0x9+0x1*0x33,-0x2374+-0x1866+-0x1*-0x3fc2,(-0x1b00+0x986*-0x3+0x3795)*(0x1654+-0x4*0x6d7+-0x2a2*-0x2)*(-0xdcb*-0x2+-0x7fa*-0x4+-0x3796));this['translated'+'_text']=O['data']['translated'+'_text'];}['translated'+'_text_to_s'+'egments'](){return this['translated'+'_text_segm'+'ented']=this['translated'+'_text']['split'](this['marker'])['filter'](t=>!!t)['map'](t=>t['trim']()),this['translated'+'_text_segm'+'ented']['forEach']((t,K)=>{this['captions']['segments'][K]['text']=t;}),this['captions']['segments'];}['fake_word_'+'level_accu'+'racy'](){const t={'Hpahq':function(e,O){return e-O;},'eWkPt':function(e,O){return e<O;},'FCQYm':function(e,O){return e===O;},'lleNW':function(e,O){return e+O;},'nDfVJ':function(e,O){return e!=O;},'mmtcF':function(e,O){return e===O;},'IMcQb':function(e,O){return e*O;},'bDAup':function(e,O){return e!=O;},'aiGTl':function(e,O){return e+O;}};let K=[];return this['captions']['segments']['forEach'](e=>{const O=[],z=e['start'],y=e['end'],h=e['text']['split'](''),V=t['Hpahq'](y,z)/h['length'];let T=null,s=null,Y=null;for(let J=0x237a+0x1d69*0x1+-0x31*0x153;t['eWkPt'](J,h['length']);J++){const L=h[J];t['FCQYm'](L,'\x20')?(Y=t['lleNW'](z,J*V),t['nDfVJ'](T,null)&&O['push']({'end':Y,'probability':-(-0x1363+-0x1ae8+0xb93*0x4),'start':s,'started_with_space':!![],'text':T,'word':T}),T=s=Y=null):t['mmtcF'](T,null)?(T=L,s=t['lleNW'](z,t['IMcQb'](J,V))):T+=L;}t['bDAup'](T,null)&&(Y=t['aiGTl'](z,h['length']*V),O['push']({'end':Y,'probability':-(0x2dd+0x26a3+-0xdd5*0x3),'start':s,'started_with_space':!![],'text':T,'word':T})),e['words']=O,K['push'](...O);}),K;}['get_transl'+'ated_text'](){return this['translated'+'_text'];}}g_translate=new CaptionsTranslate();