var g_review_params={'startup':0.1,'main_menu_open':0.1},g_review_startup_complete=![],g_can_be_asked_for_review=![];function showReviewWithProbability(K='startup'){const n={'YVGve':'showReview'+'WithProbab'+'ility\x20-\x20tr'+'igger:\x20','PyWHG':'g_can_be_a'+'sked_for_r'+'eview:\x20','PKVdP':'rand:\x20','npVGO':'probabilit'+'y:\x20','BORFH':function(g,h){return g<h;},'zjDoz':function(g){return g();}};console['log'](n['YVGve'],K),console['log'](n['PyWHG'],g_can_be_asked_for_review);if(!g_can_be_asked_for_review)return;const M=Math['random'](),Y=g_review_params[K];console['log'](n['PKVdP'],M),console['log'](n['npVGO'],Y),n['BORFH'](M,Y)&&!g_web_tour_open&&n['zjDoz'](showReview);}function showReview(){const K={'rwURL':'#review','SGfbr':'hidden','IpVoX':function(n){return n();}};$(K['rwURL'])['removeClas'+'s'](K['SGfbr']),K['IpVoX'](manageNotificationsPanel),tracker['event']('REVIEW\x20SHO'+'WN');}function set_review_listeners(){const K={'RmyhK':function(n,M){return n(M);},'bovAk':function(n){return n();},'TVhCA':'close-type','CJSZy':'no-rating-'+'given','iOSTO':'no-to-publ'+'ic-review','ePIxT':'#review-ra'+'ting','rLbaO':'rating','WMseS':'link','MMiTe':'#review','nYyeT':'hidden','vlpEZ':function(n,M){return n(M);},'fxUWH':'star','CrlCK':function(n,M){return n<=M;},'mWpAm':function(n,M){return n(M);},'byPJl':'color','eIRIp':'yellow','QCwvb':'filter','uVprb':function(n,M){return n(M);},'AVGsP':function(n,M){return n(M);},'fnoBL':'none','uvroe':function(n,M){return n(M);},'dRKuK':function(n,M){return n(M);},'ujaKp':'.review-ra'+'ting-star','Pgjzs':function(n,M){return n(M);},'IKIxI':'rgb(79\x2080\x20'+'83)','mpZzS':function(n,M){return n(M);},'eQmEE':'#review-ra'+'ting\x20mouse'+'leave','fBoea':function(n,M){return n(M);},'uNUmR':'review\x20rat'+'ing\x20star\x20c'+'lick','NpDWn':'#review-pa'+'ge-rating','yCtzs':function(n,M){return n===M;},'WJvnx':'#review-pa'+'ge-ask-to-'+'share','PfYqf':function(n,M){return n(M);},'bWtFM':'#review-pa'+'ge-feedbac'+'k','iMyrV':function(n,M){return n(M);},'sbfPh':'Error\x20in\x20s'+'ubmitting\x20'+'review:\x20','QvbVJ':function(n,M){return n(M);},'lrdsf':'.review-cl'+'ose-button','CxSzj':function(n,M){return n(M);},'KdPAu':'#review-pa'+'ge-ask-to-'+'share-yes-'+'button','DUQpa':'click','mOrVc':'mouseover','TubrO':function(n,M){return n(M);},'zQJGW':function(n,M){return n(M);},'ynYme':'#button-su'+'bmit-revie'+'w'};$(K['lrdsf'])['on']('click',function(n){K['RmyhK']($,'#review')['addClass']('hidden'),K['bovAk'](manageNotificationsPanel),tracker['event']('REVIEW\x20DIS'+'MISSED\x20:(');const M=$(this)['data'](K['TVhCA']);console['log']('declinedRe'+'view\x20butto'+'n_type:\x20'+M),[K['CJSZy'],K['iOSTO']]['includes'](M)?editai_api['declinedRe'+'view'](M):editai_api['submitRevi'+'ew']({'rating':K['RmyhK'](parseInt,$(K['ePIxT'])['data'](K['rLbaO'])),'comments':''}),g_can_be_asked_for_review=![];}),K['CxSzj']($,K['KdPAu'])['on'](K['DUQpa'],function(n){const M=K['RmyhK']($,this)['attr'](K['WMseS']);csInterface['openURLInD'+'efaultBrow'+'ser'](M),tracker['event']('ASK\x20TO\x20SHA'+'RE\x20YES\x20BUT'+'TON\x20CLICKE'+'D\x20:)'),K['RmyhK']($,K['MMiTe'])['addClass'](K['nYyeT']),manageNotificationsPanel(),g_can_be_asked_for_review=![],K['vlpEZ'](confetti,{'spread':0x46,'particleCount':0x64,'ticks':0x32});}),K['CxSzj']($,'.review-ra'+'ting-star')['on'](K['mOrVc'],function(n){const M=K['uvroe'](parseInt,K['dRKuK']($,this)['data'](K['fxUWH']));K['uVprb']($,K['ujaKp'])['each']((Y,g)=>{const h=K['RmyhK'](parseInt,$(g)['data'](K['fxUWH']));K['CrlCK'](h,M)?(K['mWpAm']($,g)['css'](K['byPJl'],K['eIRIp']),K['vlpEZ']($,g)['css'](K['QCwvb'],'drop-shado'+'w(0px\x200px\x20'+'3px\x20yellow'+')')):(K['uVprb']($,g)['css']('color','rgb(79\x2080\x20'+'83)'),K['AVGsP']($,g)['css'](K['QCwvb'],K['fnoBL']));});}),K['TubrO']($,K['ePIxT'])['on']('mouseleave',function(n){console['log'](K['eQmEE']),K['fBoea']($,'.review-ra'+'ting-star')['each']((M,Y)=>{K['Pgjzs']($,Y)['css'](K['byPJl'],K['IKIxI']),K['mpZzS']($,Y)['css'](K['QCwvb'],K['fnoBL']);});}),K['zQJGW']($,'.review-ra'+'ting-star')['on'](K['DUQpa'],function(n){console['log'](K['uNUmR']);const M=parseInt(K['AVGsP']($,this)['data'](K['fxUWH']));K['uvroe']($,K['ePIxT'])['data'](K['rLbaO'],M),tracker['event']('RATING\x20GIV'+'EN'),console['log']('RATING\x20GIV'+'EN:\x20'+M+'/5'),K['AVGsP']($,K['NpDWn'])['addClass'](K['nYyeT']),K['yCtzs'](M,-0xadf*-0x1+0x72c+-0x1206)?$(K['WJvnx'])['removeClas'+'s'](K['nYyeT']):K['PfYqf']($,K['bWtFM'])['removeClas'+'s'](K['nYyeT']);}),K['Pgjzs']($,K['ynYme'])['on'](K['DUQpa'],function(n){try{const M={'rating':K['AVGsP'](parseInt,$(K['ePIxT'])['data'](K['rLbaO'])),'comments':K['iMyrV']($,'#review-pa'+'ge-feedbac'+'k-comments')['val']()};editai_api['submitRevi'+'ew'](M);}catch(Y){console['log'](K['sbfPh'],Y);}K['QvbVJ']($,'#review')['addClass'](K['nYyeT']),K['bovAk'](manageNotificationsPanel),tracker['event']('REVIEW\x20SUB'+'MITTED\x20:)'),confetti({'spread':0x46,'particleCount':0x64,'ticks':0x32});});}