let g_profanity_language='en',g_profanity_transcript=null;function set_profanity_transcript(t){g_profanity_transcript=t;}function set_profanity_language(t){g_profanity_language=t;}function mark_profanity_words(t,K){const e={'FrXok':function(h,V,T,s){return h(V,T,s);},'OkWej':'caption','vlHnO':'standard','dSdEt':function(h,V){return h||V;}},O={'language':g_profanity_language,'profanity':!![],'profanity_mode':e['vlHnO'],'profanity_custom_blocklist':t||'','profanity_custom_allowlist':e['dSdEt'](K,'')};let z=-0x12db*-0x2+0x1878+-0x3e2e;g_captions_chunked['map'](h=>{const V={'RCRjm':function(T,s,Y,J){return e['FrXok'](T,s,Y,J);}};return{...h,'type':e['OkWej'],'words':h['words']['map'](T=>{return{...T,'text':V['RCRjm'](applyFormattingToCaptionWord,T,O,g_profanity_language)};})};});const y=[];return g_captions_chunked['forEach'](h=>{h['words']['forEach'](V=>{V['isProfanit'+'y']&&(!Object['keys'](V)['includes']('isProfanit'+'yChecked')&&(V['isProfanit'+'yChecked']=!![]),y['push']({'word':V,'index':z})),z++;});}),y;}function get_blocklist_allowlist(){const t={'jXeDj':function(O,z){return O(z);},'wrZhs':'#input-pro'+'fanity-blo'+'cklist','Rxllp':'#input-pro'+'fanity-all'+'owlist'},K=t['jXeDj']($,t['wrZhs'])['val'](),e=t['jXeDj']($,t['Rxllp'])['val']();return{'block':K,'allow':e};}async function get_sanitized_profanity_words_from_captions(t,K=![]){const e={'dHsgH':function(V,T){return V!==T;},'lWBdA':function(V,T){return V<T;},'jPQWm':function(V,T){return V/T;},'thRaO':function(V,T){return V*T;},'ZKjvW':function(V,T){return V===T;},'aegFW':function(V,T){return V+T;},'Jowro':function(V,T){return V-T;},'sbYai':function(V,T){return V*T;},'clMeK':function(V,T){return V(T);},'giBAg':'(1\x20/\x20app.p'+'roject.act'+'iveSequenc'+'e.getSetti'+'ngs().vide'+'oFrameRate'+'.seconds)'};let O=null;K&&(O=await e['clMeK'](jsxExecute,e['giBAg']));let z=-0x2*0xa9c+-0x5f2*-0x2+0x954,y=-0x4*-0x2a1+-0x635*-0x5+-0x298d;const h=[];return t['forEach'](V=>{const T={'KsZEP':function(s,Y){return e['dHsgH'](s,Y);},'aiFNT':function(s,Y){return e['lWBdA'](s,Y);},'iioId':function(s,Y){return e['jPQWm'](s,Y);},'mDyYb':function(s,Y){return e['thRaO'](s,Y);},'zSdTW':function(s,Y){return e['ZKjvW'](s,Y);},'sgpPX':function(s,Y){return e['aegFW'](s,Y);},'FDIay':function(s,Y){return e['Jowro'](s,Y);},'ANtuw':function(s,Y){return s/Y;},'EOiQP':function(s,Y){return e['sbYai'](s,Y);},'CPzRh':function(s,Y){return e['aegFW'](s,Y);},'SRVWP':function(s,Y){return s-Y;}};V['words']['forEach'](s=>{y++;if(s['isProfanit'+'y']&&T['KsZEP'](s['isProfanit'+'yChecked'],![])&&T['aiFNT'](s['start'],s['end'])){if(K){const Y=T['iioId'](Math['round'](T['mDyYb'](s['end'],O)),O);if(T['zSdTW'](y,T['sgpPX'](z,0x1848+-0x68b*0x2+-0xb31)))h[T['FDIay'](h['length'],-0x2158+-0x1780+0x38d9)][-0x1808+0x241f*0x1+-0xc16]=Y;else{const J=T['ANtuw'](Math['round'](T['EOiQP'](s['start'],O)),O);h['push']([J,Y]);}}else T['zSdTW'](y,T['CPzRh'](z,-0x4f*0x29+-0x1be+0xe66))?h[T['SRVWP'](h['length'],0x9*-0xc3+-0x24f6+0x2bd2)][0x2708*-0x1+0x1a3b+0xcce]=s['end']:h['push']([s['start'],s['end']]);z=y;}});}),h;}async function get_profanity_list(){const t={'bywEx':'no-store','myhOm':'profanity_'+'list\x20using'+'\x20local:','vofhi':function(K,O){return K(O);},'AOuRx':function(K){return K();},'DYYRK':'successful','Qcynl':'failed'};g_store['profanityL'+'istStatus']='fetching';try{const K=getFileNameFromUrl(g_profanity_list_link),O='../assets/'+'static/'+K;let z=null;try{const h=await fetch(O,{'cache':t['bywEx']});h['ok']&&(console['log'](t['myhOm'],O),z=await h['text']());}catch(V){}!z&&(console['log']('profanity_'+'list\x20using'+'\x20remote:',g_profanity_list_link),z=await t['vofhi'](retryFetchText,g_profanity_list_link));const y=z;g_profanity_list=JSON['parse'](y),t['AOuRx'](upgrade_english_profanity_words_with_slang_variants),g_store['profanityL'+'istStatus']=t['DYYRK'];}catch(T){console['log']('Error\x20when'+'\x20populatin'+'g\x20the\x20prof'+'anity\x20list',T),g_store['profanityL'+'istStatus']=t['Qcynl'];}}function upgrade_english_profanity_words_with_slang_variants(){const t={'HONhG':'in\x27'};try{const K=[];g_profanity_list['en']['standard']['forEach'](e=>{if(e['endsWith']('ing')){const O=e['replace'](/ing$/,t['HONhG']);K['push'](O);}}),g_profanity_list['en']['standard']=g_profanity_list['en']['standard']['concat'](K);}catch(e){console['error'](e);}}