let g_profanity_language='en',g_profanity_transcript=null;function set_profanity_transcript(Y){g_profanity_transcript=Y;}function set_profanity_language(Y){g_profanity_language=Y;}function mark_profanity_words(Y,Q){const g={'geTGc':function(L,C,c,m){return L(C,c,m);},'xyNKQ':'caption','AHNPM':'standard','zybck':function(L,C){return L||C;},'aJCGL':function(L,C){return L||C;}},N={'language':g_profanity_language,'profanity':!![],'profanity_mode':g['AHNPM'],'profanity_custom_blocklist':g['zybck'](Y,''),'profanity_custom_allowlist':g['aJCGL'](Q,'')};let V=0x19*0x2f+-0x13*-0x5+0x1*-0x4f6;g_captions_chunked['map'](L=>{const C={'lrjTJ':function(c,m,M,v){return g['geTGc'](c,m,M,v);}};return{...L,'type':g['xyNKQ'],'words':L['words']['map'](c=>{return{...c,'text':C['lrjTJ'](applyFormattingToCaptionWord,c,N,g_profanity_language)};})};});const h=[];return g_captions_chunked['forEach'](L=>{L['words']['forEach'](C=>{C['isProfanit'+'y']&&(!Object['keys'](C)['includes']('isProfanit'+'yChecked')&&(C['isProfanit'+'yChecked']=!![]),h['push']({'word':C,'index':V})),V++;});}),h;}function get_blocklist_allowlist(){const Y={'ylphA':function(N,V){return N(V);},'GZKHd':'#input-pro'+'fanity-all'+'owlist'},Q=Y['ylphA']($,'#input-pro'+'fanity-blo'+'cklist')['val'](),g=$(Y['GZKHd'])['val']();return{'block':Q,'allow':g};}async function get_sanitized_profanity_words_from_captions(Y,Q=![]){const g={'wgJwV':function(C,c){return C!==c;},'aGoXQ':function(C,c){return C<c;},'FrDba':function(C,c){return C*c;},'nvfwO':function(C,c){return C===c;},'QmpbN':function(C,c){return C+c;},'fxphL':function(C,c){return C*c;},'rIphW':function(C,c){return C+c;},'zQzCD':function(C,c){return C(c);},'hXagi':'(1\x20/\x20app.p'+'roject.act'+'iveSequenc'+'e.getSetti'+'ngs().vide'+'oFrameRate'+'.seconds)'};let N=null;Q&&(N=await g['zQzCD'](jsxExecute,g['hXagi']));let V=-0x1b3+-0x3b*0x3+-0x1*-0x264,h=-0x160*-0x1a+-0x7*0x29f+0xb*-0x195;const L=[];return Y['forEach'](C=>{const c={'bQPdL':function(m,M){return g['wgJwV'](m,M);},'RXEMW':function(m,M){return g['aGoXQ'](m,M);},'ZMQaW':function(m,M){return m/M;},'uHYus':function(m,M){return g['FrDba'](m,M);},'GOwRo':function(m,M){return g['nvfwO'](m,M);},'qrPii':function(m,M){return g['QmpbN'](m,M);},'Vdhxo':function(m,M){return m-M;},'ErwYY':function(m,M){return g['fxphL'](m,M);},'EbBkP':function(m,M){return g['rIphW'](m,M);}};C['words']['forEach'](m=>{h++;if(m['isProfanit'+'y']&&c['bQPdL'](m['isProfanit'+'yChecked'],![])&&c['RXEMW'](m['start'],m['end'])){if(Q){const M=c['ZMQaW'](Math['round'](c['uHYus'](m['end'],N)),N);if(c['GOwRo'](h,c['qrPii'](V,0x5*0x322+-0x26*0x94+0x64f)))L[c['Vdhxo'](L['length'],-0xb*0x251+-0x2*0xcba+0x32f0)][-0x45b+0x756+-0x2fa]=M;else{const v=Math['round'](c['ErwYY'](m['start'],N))/N;L['push']([v,M]);}}else c['GOwRo'](h,c['EbBkP'](V,0x1ba3+0x3*-0xa81+-0x1*-0x3e1))?L[L['length']-(-0xbc*0x2b+-0x1b4*0x3+0x1f*0x12f)][-0x2393+0xf6*0x7+0x1cda]=m['end']:L['push']([m['start'],m['end']]);V=h;}});}),L;}function updateProfanityListStatus(Y){const Q={'ekuFx':function(g,N){return g(N);},'Kcbew':'.profanity'+'-list-stat'+'us-fetchin'+'g','jfgiT':function(g,N){return g!==N;},'wjuzm':'fetching','UsuPP':'.profanity'+'-list-stat'+'us-failed','ZwGWG':'hidden','wVwyF':'failed'};Q['ekuFx']($,Q['Kcbew'])['toggleClas'+'s']('hidden',Q['jfgiT'](Y,Q['wjuzm'])),Q['ekuFx']($,Q['UsuPP'])['toggleClas'+'s'](Q['ZwGWG'],Q['jfgiT'](Y,Q['wVwyF']));}async function get_profanity_list(){const Y={'VpjKQ':function(Q,g){return Q(g);},'sTHMS':'fetching','SwOnk':function(Q,g){return Q(g);},'AORNk':'no-store','zbWdJ':'profanity_'+'list\x20using'+'\x20local:','OecgM':'profanity_'+'list\x20using'+'\x20remote:','jRrBs':function(Q,g){return Q(g);},'AoURg':function(Q){return Q();},'fBhBr':'successful','aOVjZ':'Error\x20when'+'\x20populatin'+'g\x20the\x20prof'+'anity\x20list'};Y['VpjKQ'](updateProfanityListStatus,Y['sTHMS']);try{const Q=Y['SwOnk'](getFileNameFromUrl,g_profanity_list_link),g='../assets/'+'static/'+Q;let N=null;try{const h=await fetch(g,{'cache':Y['AORNk']});h['ok']&&(console['log'](Y['zbWdJ'],g),N=await h['text']());}catch(L){}!N&&(console['log'](Y['OecgM'],g_profanity_list_link),N=await Y['jRrBs'](retryFetchText,g_profanity_list_link));const V=N;g_profanity_list=JSON['parse'](V),Y['AoURg'](upgrade_english_profanity_words_with_slang_variants),updateProfanityListStatus(Y['fBhBr']);}catch(C){console['log'](Y['aOVjZ'],C),Y['VpjKQ'](updateProfanityListStatus,'failed');}}function upgrade_english_profanity_words_with_slang_variants(){const Y={'wtedl':'ing','UheiX':'in\x27'};try{const Q=[];g_profanity_list['en']['standard']['forEach'](g=>{if(g['endsWith'](Y['wtedl'])){const N=g['replace'](/ing$/,Y['UheiX']);Q['push'](N);}}),g_profanity_list['en']['standard']=g_profanity_list['en']['standard']['concat'](Q);}catch(g){console['error'](g);}}