(function(b,r,u){b.setTimeout(function(){if(b.s_hsp("stop_refresh"))return 0;"undefined"==typeof b.pb_0&&(b.pb_lg(!1,272),b.pb_0=1,b.mt_time_old=u.now(),b.setInterval(function(){b.mt_time_new=u.now();var a=b.mt_time_new-b.mt_time_old;b.mt_time_old=u.now();b.pb_lg(!1,273,b.pb_t);b.pb_t.forEach(function(c){if("visible"==r.visibilityState&&b.mt_window_focus_state||c.fr)try{if(c.a&&0c.rt){c.was_refreshed=!0;c.rs=0;var d=b.getComputedStyle(c.d,null),g=d.getPropertyValue("height");c.d.style.minHeight=g;0e-d[f].t&&g.push(d[f]);d=g}else d=[];g=!1;for(f=0;fe-d[f].t&&d[f].tg==a.tg&&d[f].cn==a.cn&&(g=!0,a.c?(d[f].c||(d[f].c=0),d[f].c++):a.p?a.a?(d[f].sp||(d[f].sp=0),d[f].sp++):(d[f].fp||(d[f].fp=0),d[f].fp++):a.a?(d[f].s||(d[f].s=0),d[f].s++):(d[f].f||(d[f].f=0),d[f].f++));g||(a.a?(a.s=1,a.f=0):(a.s=0,a.f=1),d.push(a));b.localStorage.setItem("mt_an_arr_comp_2",JSON.stringify(d));b.mt_send_client_stat(c)};b.mt_clear_client_stat=function(a){b.pb_lg(!1,294, a);var c=JSON.parse(b.localStorage.getItem("mt_an_arr_comp_2")),e=[];c||(c=[]);if(a)for(var d=0;da&&e.push(c[d]);b.localStorage.setItem("mt_an_arr_comp_2",JSON.stringify(e))};b.mt_send_client_stat=function(a){if(!b.mt_check_cmp_purpose("v_stat"))return 0;b.pb_lg(!1,295,a);if(!b.mt_ext_stat_send)return b.pb_lg(!1,296,b.mt_ext_stat_send),0;b.pb_lg(!1,297);b.mt_clientstat_timer&&clearTimeout(b.mt_clientstat_timer);a=a?50:3E3;b.mt_clientstat_timer=b.setTimeout(function(){var c=b.mt_client_stat_show(!1); c={r:c.data,a:c.anonym_clicks};c.u=b.mt_get_localstorage_cache("mt_analys_uid",b.pb_rds(20).toString().toUpperCase());var e=localStorage.getItem("mt_gcode_country");c.g=e?e:"00";c.v=3;b.pb_rde(!1,20)?(b.pb_lg(!1,298,c),b.pb_xr("https://newvals.bcovery.com",c)):b.pb_lg(!1,299)},a)};b.mt_client_stat_show=function(a,c,e,d){var g=JSON.parse(b.localStorage.getItem("mt_an_arr_comp_2"));b.pb_lg(!1,300,g);var f=Math.floor(Date.now()/1E3),q=[],h="[URL]";h=h.replace("http://","").replace("https://","").replace("www.", "").replace("/","");url_parts=h.split(".");h=url_parts[0];for(var n="",l=0,k=0;kk&&(n+=h.charCodeAt(k)),3<=k&&(l+=h.charCodeAt(k)+3*k);n+=1*(l+"");g||(g=[]);for(k=0;ka.eff_p&&10c.media_type.length&&(c.media_type=" ");var d={w:a.website_id,t:a.tag_id,s:c.script_id,m:c.media_type[0], p:c.partner};d.u=c.time_response?c.time_response:0;b.pb_lg(a,318,d);if(c.is_winner||!c.fail_bid&&!c.no_bid)d.q=c.cpm,d.r=c.currency,d.u=c.time_response,c.is_winner?b.pb_10[e].w.push(d):b.pb_10[e].l.push(d);if(c.fail_bid||c.no_bid)c.fail_bid&&b.pb_10[e].f.push(d),c.no_bid&&b.pb_10[e].n.push(d);b.pb_lg(a,319,d);a=500;b.pb_5||(b.pb_5=[]);b.pb_5[e]&&clearTimeout(b.pb_5[e]);b.pb_5[e]=setTimeout(function(){b.pb_ss(e)},a)};b.mt_add_dnone_stat=function(a,c){b.pb_st(a,1,!1,c)};b.mt_send_googletag_stat=function(a, c,e){};window.get_recursive_object=function(a,c){var e={};if(4>c)for(var d in a)"function"!=typeof a[d]&&(e[d]="object"!=typeof a[d]?a[d]:window.get_recursive_object(a[d],c+1));else if(["string","number","boolean","null","undefined"].includes(typeof a))return a;return e};b.mt_check_double_impression=function(a){b.pb_l_result_found=!1;a.pb_l_result_found=!1;b.pb_l(a,a.d_parent,!1,!1);var c=b.pb_l_result_found;b.pb_l_result_found=!1;a.pb_l_result_found=!1;b.pb_l(a,a.d,!1,!0);a=b.pb_l_result_found;return c&& a?1:0};b.mt_send_double_impression_stat=function(a,c){a.double_imp_stat_send||(b.pb_th(a,"di","send stat"),b.pb_st(a,3,!1,c),a.double_imp_stat_send=!0)};b.mt_start_double_impression_timer=function(a){b.pb_th(a,"di","set DI timer");for(var c=[2,4,6,8,10,12],e=0;ee||a[1]&&c.any()&&768<=e||a[0]&&!c.any()?1:0};b.mt_outdata||(b.mt_outdata= []);var m='\x3cdiv style\x3d"width:300px;height:250px;border:1px solid black;cursor:pointer;" onclick\x3d"document.location.href\x3d\'[URL]\'"\x3e';m+='\x3cimg style\x3d"margin:5px 5px 0px 5px;" align\x3d"left" width\x3d"142px" height\x3d"auto" src\x3d"[IMG]"/\x3e';m+='\x3cdiv style\x3d"margin:5px;font-size:16px;"\x3e';m+='\x3cdiv style\x3d"margin-bottom:5px;"\x3e\x3cb\x3e[TITLE]\x3c/b\x3e\x3c/div\x3e';m+='\x3cp style\x3d"text-overflow:ellipsis;"\x3e[BODY]\x3c/p\x3e';m+='\x3cdiv style\x3d"margin-top:2px;"\x3e\x3cb\x3e[BRAND]\x3c/b\x3e\x3c/div\x3e'; m+="\x3cdiv\x3e";m+='\x3cimg style\x3d"float:right;" width\x3d"42px" height\x3d"auto" src\x3d"[ICON]" style\x3d"[ICON_STYLE]" /\x3e';m+="\x3c/div\x3e";m+="\x3c/div\x3e";m+="\x3c/div\x3e";b.mt_outdata.native_template=m;b.mt_words_dict=[];"undefined"==typeof b.tag_templates&&(b.tag_templates={});b.tag_templates.B||(b.tag_templates.B={});b.mt_statistick_tick=function(){b.mt_check_cmp_purpose("t_stat")&&b.pb_t.forEach(function(a){if(a.timing_stat&&!a.mlt&&!a.stop_timing_stat){if(!b.mt_have_timing(a,"block_found")){var c= b.mt_search_div(a,a["do"],a.n);c&&(b.mt_set_timing(a,"block_found"),a.d_parent_ticker=c)}a.d_parent_ticker&&(b.mt_have_timing(a,"block_visible")||(c=b.pb_pi(a,a.d_parent_ticker),c.result||b.mt_set_timing(a,"block_visible")),b.mt_have_timing(a,"block_in_viewport")||(c=b.pb_v(a,a.d_parent_ticker,a.xw))&&b.mt_set_timing(a,"block_in_viewport"),b.mt_have_timing(a,"block_filled")||(a.pb_l_result_found=!1,b.pb_l(a,a.d_parent_ticker,!0,!0),b.pb_lg(a,324),a.pb_l_result_found&&b.mt_set_timing(a,"block_filled")))}})}; b.mt_add_ticker_statistick=function(a){};b.mt_send_ticker_statistick=function(a){a.timing_stat_send||(a.timing_stat_send=!0,a.stop_timing_stat=!0,a={u:a.website_id,c:a.tag_id,d:a["do"],i:b.mt_stat_get_connection_type(),g:b.mt_stat_get_device_type()-1,t1:b.mt_round_timing(a.timings.block_found),t2:b.mt_round_timing(a.timings.block_visible),t3:b.mt_round_timing(a.timings.block_in_viewport),t4:b.mt_round_timing(a.timings.block_filled),t5:b.mt_round_timing(a.timings.start_tag),t6:b.mt_round_timing(a.timings.start_passback)}, this.pb_xr("https://stime.bcovery.com/timingstat",[a]))};b.mt_set_timing=function(a,c){a.timings||(a.timings={});a.timings[c]=(new Date).getTime()-b.mt_start_loading_time;"undefined"!=typeof a.timings.block_found&&"undefined"!=typeof a.timings.block_visible&&"undefined"!=typeof a.timings.block_in_viewport&&"undefined"!=typeof a.timings.block_filled&&"undefined"!=typeof a.timings.start_tag&&"undefined"!=typeof a.timings.start_passback&&b.mt_send_ticker_statistick(a)};b.mt_have_timing=function(a,c){a.timings|| (a.timings={});return"undefined"==typeof a.timings[c]?0:1};b.mt_round_timing=function(a){return a=100*Math.ceil(a/100)};window.setInterval(function(){b.mt_statistick_tick()},200)})(window,document,performance);