async function tts_update_tracks_list(){const v={'idpVO':function(B,G){return B(G);},'XDAyh':'#tts-audio'+'-track','UsmxO':':selected','gyloV':function(B,G){return B(G);},'UpZHs':function(B,G){return B>=G;},'dWYou':function(B,G){return B-G;}};v['idpVO']($,'#tts-audio'+'-track')['focus']();const U=parseInt(await v['idpVO'](jsxExecute,'app.projec'+'t.activeSe'+'quence.aud'+'ioTracks.l'+'ength'));let V=v['idpVO'](parseInt,v['idpVO']($,v['XDAyh'])['find'](v['UsmxO'])['val']());(v['gyloV'](isNaN,V)||v['UpZHs'](V,U))&&(V=v['dWYou'](U,0x1933+-0x1574+-0x3be)),v['idpVO']($,v['XDAyh'])['html'](Array['from']({'length':U},(B,G)=>'<option\x20'+(G===V?'selected=\x22'+'selected\x22':'')+'\x20value=\x22'+G+'\x22>A'+(G+(0x1*-0x1467+0x766*0x2+0x59c*0x1))+'</option>')['join'](''));}async function create_tts_audio_track(){const v={'PeqWQ':function(V,B){return V(B);},'rsoxg':function(V,B){return V(B);},'PrWYw':'#tts-audio'+'-track'};let U=parseInt(await v['PeqWQ'](jsxExecute,'app.projec'+'t.activeSe'+'quence.aud'+'ioTracks.l'+'ength'));return await v['rsoxg'](jsxExecute,'qe.project'+'.getActive'+'Sequence()'+'.addTracks'+'(0,\x200,\x201,\x20'+'1,\x20'+U+')'),U+=-0x17e9+0xac1*-0x1+0x22ab,$(v['PrWYw'])['html'](Array['from']({'length':U},(V,B)=>'<option\x20'+(B===U-(-0x160d+-0x115a*0x1+0x2768)?'selected=\x22'+'selected\x22':'')+'\x20value=\x22'+B+'\x22>A'+(B+(0x1*-0x1f57+0xb03+0x1455))+'</option>')['join']('')),U-(-0x1a88+-0x24ba+0x3f43);}async function set_tts_audio_track_listeners(){const v={'TfCRO':'click'};$('#tts-add-t'+'rack')['off'](v['TfCRO'])['on']('click',async function(){await create_tts_audio_track();});}function estimateAudioLength(v,U){const V={'qvnji':function(a,X){return a/X;},'NHkdu':function(a,X){return a*X;},'yvCgD':function(a,X){return a/X;},'dcVMn':function(a,X){return a%X;},'vuPiM':function(a,X){return a(X);}},B=Math['round'](V['qvnji'](V['NHkdu'](V['yvCgD'](v,0x162a+-0x2677+0x136d),0x1d3*0x4+0x7cd*0x1+-0xedd),U)),G=Math['floor'](V['qvnji'](B,-0x142f+0x1df7+-0x98c)),W=V['dcVMn'](B,-0x5*-0x505+-0x7*-0x167+-0x22ae);return G===0x1*-0xb9e+0xc73+0x47*-0x3?W+'s':G+':'+V['vuPiM'](String,W)['padStart'](0x34b+0x2*-0x527+0x705,'0')+'min';}function numberWithCommas(v){return v['toString']()['replace'](/\B(?=(\d{3})+(?!\d))/g,',');}function validateTTSInput(){const v={'MdXFe':function(G,W){return G(W);},'LrRXC':'#tts-text-'+'input'},U=['@','#','$','%','^','*','(',')','_','+','=','{','}','[',']','|','\x5c',':',';','\x22','<','>','/','`','~'],V=v['MdXFe']($,v['LrRXC'])['val'](),B=[];return U['forEach'](G=>{V['includes'](G)&&B['push'](G);}),B;}