1!function(t,e){"use strict";function r(r,a,i,l,u){function f(){L=t.devicePixelRatio>1,c(i),a.delay>=0&&setTimeout(function(){s(!0)},a.delay),(a.delay<0||a.combined)&&(l.e=v(a.throttle,function(t){"resize"===t.type&&(w=B=-1),s(t.all)}),l.a=function(t){c(t),i.push.apply(i,t)},l.g=function(){return i=n(i).filter(function(){return!n(this).data(a.loadedName)})},l.f=function(t){for(var e=0;e<t.length;e++){var r=i.filter(t[e]);r.length&&s(!1,r)}},s(),n(a.appendScroll).on("scroll."+u+" resize."+u,l.e))}function c(t){var i=a.defaultImage,o=a.placeholder,l=a.imageBase,u=a.srcsetAttribute,f=a.loaderAttribute,c=a._f||{};t=n(t).filter(function(){var t=n(this),r=m(this);return!t.data(a.handledName)&&(t.attr(a.attribute)||t.attr(u)||t.attr(f)||c[r]!==e)}).data("plugin_"+a.name,r);for(var s=0,d=t.length;s<d;s++){var A=n(t[s]),g=m(t[s]),h=A.attr(a.imageBaseAttribute)||l;g==N&&h&&A.attr(u)&&A.attr(u,b(A.attr(u),h)),c[g]===e||A.attr(f)||A.attr(f,c[g]),g==N&&i&&!A.attr(E)?A.attr(E,i):g==N||!o||A.css(O)&&"none"!=A.css(O)||A.css(O,"url('"+o+"')")}}function s(t,e){if(!i.length)return void(a.autoDestroy&&r.destroy());for(var o=e||i,l=!1,u=a.imageBase||"",f=a.srcsetAttribute,c=a.handledName,s=0;s<o.length;s++)if(t||e||A(o[s])){var g=n(o[s]),h=m(o[s]),b=g.attr(a.attribute),v=g.attr(a.imageBaseAttribute)||u,p=g.attr(a.loaderAttribute);g.data(c)||a.visibleOnly&&!g.is(":visible")||!((b||g.attr(f))&&(h==N&&(v+b!=g.attr(E)||g.attr(f)!=g.attr(F))||h!=N&&v+b!=g.css(O))||p)||(l=!0,g.data(c,!0),d(g,h,v,p))}l&&(i=n(i).filter(function(){return!n(this).data(c)}))}function d(t,e,r,i){++z;var o=function(){y("onError",t),p(),o=n.noop};y("beforeLoad",t);var l=a.attribute,u=a.srcsetAttribute,f=a.sizesAttribute,c=a.retinaAttribute,s=a.removeAttribute,d=a.loadedName,A=t.attr(c);if(i){var g=function(){s&&t.removeAttr(a.loaderAttribute),t.data(d,!0),y(T,t),setTimeout(p,1),g=n.noop};t.off(I).one(I,o).one(D,g),y(i,t,function(e){e?(t.off(D),g()):(t.off(I),o())})||t.trigger(I)}else{var h=n(new Image);h.one(I,o).one(D,function(){t.hide(),e==N?t.attr(C,h.attr(C)).attr(F,h.attr(F)).attr(E,h.attr(E)):t.css(O,"url('"+h.attr(E)+"')"),t[a.effect](a.effectTime),s&&(t.removeAttr(l+" "+u+" "+c+" "+a.imageBaseAttribute),f!==C&&t.removeAttr(f)),t.data(d,!0),y(T,t),h.remove(),p()});var m=(L&&A?A:t.attr(l))||"";h.attr(C,t.attr(f)).attr(F,t.attr(u)).attr(E,m?r+m:null),h.complete&&h.trigger(D)}}function A(t){var e=t.getBoundingClientRect(),r=a.scrollDirection,n=a.threshold,i=h()+n>e.top&&-n<e.bottom,o=g()+n>e.left&&-n<e.right;return"vertical"==r?i:"horizontal"==r?o:i&&o}function g(){return w>=0?w:w=n(t).width()}function h(){return B>=0?B:B=n(t).height()}function m(t){return t.tagName.toLowerCase()}function b(t,e){if(e){var r=t.split(",");t="";for(var a=0,n=r.length;a<n;a++)t+=e+r[a].trim()+(a!==n-1?",":"")}return t}function v(t,e){var n,i=0;return function(o,l){function u(){i=+new Date,e.call(r,o)}var f=+new Date-i;n&&clearTimeout(n),f>t||!a.enableThrottle||l?u():n=setTimeout(u,t-f)}}function p(){--z,i.length||z||y("onFinishedAll")}function y(t,e,n){return!!(t=a[t])&&(t.apply(r,[].slice.call(arguments,1)),!0)}var z=0,w=-1,B=-1,L=!1,T="afterLoad",D="load",I="error",N="img",E="src",F="srcset",C="sizes",O="background-image";"event"==a.bind||o?f():n(t).on(D+"."+u,f)}function a(a,o){var l=this,u=n.extend({},l.config,o),f={},c=u.name+"-"+ ++i;return l.config=function(t,r){return r===e?u[t]:(u[t]=r,l)},l.addItems=function(t){return f.a&&f.a("string"===n.type(t)?n(t):t),l},l.getItems=function(){return f.g?f.g():{}},l.update=function(t){return f.e&&f.e({},!t),l},l.force=function(t){return f.f&&f.f("string"===n.type(t)?n(t):t),l},l.loadAll=function(){return f.e&&f.e({all:!0},!0),l},l.destroy=function(){return n(u.appendScroll).off("."+c,f.e),n(t).off("."+c),f={},e},r(l,u,a,f,c),u.chainable?a:l}var n=t.jQuery||t.Zepto,i=0,o=!1;n.fn.Lazy=n.fn.lazy=function(t){return new a(this,t)},n.Lazy=n.lazy=function(t,r,i){if(n.isFunction(r)&&(i=r,r=[]),n.isFunction(i)){t=n.isArray(t)?t:[t],r=n.isArray(r)?r:[r];for(var o=a.prototype.config,l=o._f||(o._f={}),u=0,f=t.length;u<f;u++)(o[t[u]]===e||n.isFunction(o[t[u]]))&&(o[t[u]]=i);for(var c=0,s=r.length;c<s;c++)l[r[c]]=t[0]}},a.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:t,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:e,afterLoad:e,onError:e,onFinishedAll:e},n(t).on("load",function(){o=!0})}(window);var clicky_obj=clicky_obj||(function(){var instance=null;function _ins(){var _self=this,site_ids=[],pageviews_fired=[],monitors=0,setup=0,ossassets=0,ossdata=0;this.domain='//in.getclicky.com';this.sitekeys=[];this.site_id_exists=function(site_id){for(var s in site_ids)if(site_ids[s]==site_id)return!0;return!1};this.sitekey=function(site_id,key_only){if(_self.sitekeys&&_self.sitekeys[site_id])return(key_only?'':'&sitekey=')+_self.sitekeys[site_id];return''};this.init=function(site_id){if(_self.site_id_exists(site_id))return;site_ids.push(site_id);if(clicky_custom.getHighEntropyValues&&navigator.userAgentData&&navigator.userAgentData.getHighEntropyValues){navigator.userAgentData.getHighEntropyValues(["model","platformVersion"]).then(function(ua){_self.he_model=ua.model;_self.he_platform=parseInt(ua.platformVersion)})}if(!setup){setup=1;setTimeout(_self.setup,200)}};this.setup=function(){if(location.hash.match(/^#_heatmap/))_self.heatmap();if(!_self.get_cookie('_first_pageview')){_self.set_referrer()}_self.start_monitors();if(!clicky_custom.pageview_disable)_self.pageview(1);};this.custom_data=function(){var data={},keys=['username','name','email'],l=keys.length;for(var i=0;i<l;i++){var key=keys[i],temp='';temp=_self.get_cookie('_custom_data_'+key);if(temp)data[key]=temp;if(clicky_custom.visitor){temp=clicky_custom.visitor[key];if(temp){data[key]=temp}}if(location.search.match(/utm_custom/)){temp=location.search.split('utm_custom['+key+']');if(temp[1]){temp=temp[1].split('&')[0].split('=')[1];if(temp){data[key]=temp}}}}var url='';if(clicky_custom.visitor){for(var i in clicky_custom.visitor){if(clicky_custom.visitor.hasOwnProperty&&clicky_custom.visitor.hasOwnProperty(i))if(!data[i])data[i]=clicky_custom.visitor[i]}}if(data){for(var i in data){if(data.hasOwnProperty&&data.hasOwnProperty(i))url+="&custom["+_self.enc(i)+"]="+_self.enc(data[i]);}}return url};this.set_referrer=function(){var r=clicky_custom.track_iframe||!top.document.referrer?document.referrer:top.document.referrer;r=r&&r.match(/^https?:/)?(RegExp("^https?://[^/]*"+location.host.replace(/^www\./i,"")+"/","i").test(r)?'':r):'';if(!r)r=_self.get_cookie('_referrer_og');_self.ref=r;if(!_self.get_href().match(/utm_campaign/)){_self.utm=_self.get_cookie('_utm_og')}};this.pageview=function(only_once){var href=_self.get_href();if(_self.facebook_is_lame(href))return;_self.beacon('pageview','&href='+_self.enc(href)+'&title='+_self.enc(clicky_custom.title||window.clicky_page_title||(clicky_custom.track_iframe||!top.document.title?document.title:top.document.title))+(_self.ref?'&ref='+_self.enc(_self.ref):'')+(_self.utm?'&utm='+_self.enc(_self.utm):''),(only_once?1:0));for(var p=0;p<site_ids.length;p++){if(!_self.is_pageview_fired(site_ids[p])){pageviews_fired.push(site_ids[p])}}};this.get_href=function(enc){var href=clicky_custom.href||(clicky_custom.track_iframe?location.pathname+location.search:top.location.pathname+top.location.search);if(location.hash.match(/utm_campaign/i)){href=href+(location.search?'&':'?')+location.hash.substr(1)}return enc?_self.enc(href):href};this.log=function(href,title,type){if(!href||_self.facebook_is_lame(href))return;if(type=='pageview')href=href.replace(/^https?:\/\/([^\/]+)/i,'');_self.beacon({'type':(type||'click'),'href':href,'title':(title||'')})};this.facebook_is_lame=function(href){return href&&href.match&&href.match(/fb_xd_fragment|fb_xd_bust|fbc_channel/i)};this.heatmap_xy=function(e){var x,y;if(e.pageX){x=e.pageX;y=e.pageY}else if(e.clientX){x=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;y=e.clientY+document.body.scrollTop+document.documentElement.scrollTop}else return;var w=_self.doc_wh(),href=_self.get_href();if(!clicky_custom.heatmap_disable)_self.beacon('heatmap','&heatmap[]='+_self.enc(href)+'|'+x+'|'+y+'|'+w.w);};
1this.doc_wh=function(){var db=document.body,de=document.documentElement;return{w:window.innerWidth||de.clientWidth||1024,h:Math.max(db.scrollHeight,db.offsetHeight,de.clientHeight,de.scrollHeight,de.offsetHeight)}};this.heatmap=function(date,sub,subitem){if(window._heatmap_destroy)_heatmap_destroy();if(window.heatmapFactory)_self.heatmap_data(date,sub,subitem);else{_self.inject('//static.getclicky.com/inc/javascript/heatmap.js');setTimeout('_cgen.heatmap("'+(date||'')+'","'+(sub||'')+'","'+(subitem||'')+'")',1000)}};this.heatmap_data=function(date,sub,subitem){wh=_self.doc_wh();_self.inject('//clicky.com/ajax/onsitestats/heatmap?'+'site_id='+site_ids[0]+_self.sitekey(site_ids[0])+'&href='+_self.get_href(1)+'&domain='+location.hostname+'&w='+wh.w+'&h='+wh.h+(location.hash.match(/^#_heatmap/)?location.hash.replace(/^#_heatmap/,''):'')+(date?'&date='+date:'')+(sub?'&sub='+sub:'')+(subitem?'&subitem='+subitem:'')+'&x='+Math.random())};this.heatmap_override=function(e){if(document.querySelectorAll){var nodes=document.querySelectorAll(e);for(var n=0;n<nodes.length;n++){_self.add_event(nodes[n],'click',_self.heatmap_xy)}}};this.onsitestats=function(refresh,reset){if(ossassets){if(window.jQuery&&window._OSS){if(_self.jqnc){jQuery.noConflict();_self.jqnc=0}if(!ossdata||refresh){ossdata=1;_self.inject('//clicky.com/ajax/onsitestats/?site_id='+site_ids[0]+_self.sitekey(site_ids[0])+'&href='+_self.get_href(1)+'&domain='+location.hostname+(refresh?'&refresh=1':'')+(reset?'&reset=1':'')+'&x='+Math.random())}}else setTimeout(_self.onsitestats,200)}else{ossassets=1;_self.inject('//static.getclicky.com/inc/onsitestats.css','css');_self.inject('//static.getclicky.com/inc/javascript/onsitestats.js');if(!window.jQuery){_self.inject('//static.getclicky.com/inc/javascript/jquery.js');_self.jqnc=1}setTimeout(_self.onsitestats,1000)}};this.start_monitors=function(){if(!monitors){monitors=1;_self.hm_monitor();if(clicky_custom.html_media_track&&(document.getElementsByTagName('audio').length||document.getElementsByTagName('video').length)){_self.html_media_monitor()}if(!clicky_custom.history_disable){try{_self.pushState=history.pushState;history.pushState=function(){_self.pushState.apply(history,arguments);setTimeout(_self.pageview,250)};_self.add_event(window,'popstate',function(e){if(e.state)setTimeout(_self.pageview,250);})}catch(e){}}}};this.hm_monitor=function(){if(document.body){_self.add_event(document.body,'click',_self.heatmap_xy);if(clicky_custom.heatmap_objects){if(typeof clicky_custom.heatmap_objects=='object'){for(var hmo in clicky_custom.heatmap_objects)_self.heatmap_override(clicky_custom.heatmap_objects[hmo]);}else{_self.heatmap_override(clicky_custom.heatmap_objects)}}}else setTimeout(_self.hm_monitor,1000)};this.html_media_monitor=function(){if(!window._htmlvid)_self.inject('//static.getclicky.com/inc/javascript/video/html.js');};this.video=function(action,time,url,title){if(!url||!action)return!1;_self.beacon('video','&video[action]='+action+'&video[time]='+(time||0)+'&href='+_self.enc(url)+(title?'&title='+_self.enc(title):''))};this.goal=function(id,revenue){if(!id)return;var goal=(typeof id=='number'||id.match(/^[0-9]+$/))?'[id]='+id:'[name]='+_self.enc(id);_self.beacon({type:'goal',q:'&goal'+goal+(revenue?'&goal[revenue]='+revenue:'')})};this.beacon=function(type,q,called_by_pageview){if(typeof type=='object'){var o=type;if(o.type)type=o.type;else return!1;if(o.q){q=o.q}else{var temp='';for(var i in o){if(i!='type'&&o.hasOwnProperty&&o.hasOwnProperty(i))temp+='&'+i+'='+_self.enc(o[i]);}q=temp;delete temp}}else{type=type||'pageview';q=q||''}var custom='',goal='',split='',jsuid=_self.get_cookie('_jsuid');if(type!='heatmap'&&type!='ping'){custom=_self.custom_data();if(clicky_custom.goal){if(typeof clicky_custom.goal=='object'){for(var i in clicky_custom.goal){if(clicky_custom.goal.hasOwnProperty&&clicky_custom.goal.hasOwnProperty(i))goal+='&goal['+_self.enc(i)+']='+_self.enc(clicky_custom.goal[i]);}}else{goal='&goal='+_self.enc(clicky_custom.goal)}clicky_custom.goal=''}if(clicky_custom.split){for(var i in clicky_custom.split){if(clicky_custom.split.hasOwnProperty&&clicky_custom.split.hasOwnProperty(i)){if(i=='goal'&&typeof clicky_custom.split.goal=='object'){for(var j=0,l=clicky_custom.split.goal.length;j<l;j++){split+='&split[goal][]='+clicky_custom.split.goal[j]}}else split+='&split['+_self.enc(i)+']='+_self.enc(clicky_custom.split[i])}}clicky_custom.split=''}}for(var site_id_index=0;site_id_index<site_ids.length;site_id_index++){var site_id=site_ids[site_id_index],hm=_self.get_cookie('_heatmaps_g2g_'+site_id)||window['_heatmaps_g2g_'+site_id]||'';if(_self.get_cookie('_no_tracky_'+site_id))continue;if(type!='pageview'&&(window['unpoco_'+site_id]))continue;if(type=='heatmap'&&hm!='yes')continue;if(called_by_pageview&&type=='pageview'&&_self.is_pageview_fired(site_id))continue;_self.inject(_self.domain+'/in.php?site_id='+site_id+'&type='+type+q+custom+goal+split+'&res='+screen.width+"x"+screen.height+'&lang='+(navigator.language||navigator.browserLanguage||'en')+'&tz='+_self.enc(window.Intl&&Intl.DateTimeFormat&&Intl.DateTimeFormat().resolvedOptions().timeZone||'')+'&tc='+(navigator.maxTouchPoints||'')+(_self.he_platform?'&hep='+_self.he_platform:'')+(_self.he_model?'&hem='+_self.he_model:'')+'&ck='+(navigator.cookieEnabled&&!clicky_custom.cookies_disable?1:0)+(jsuid?'&jsuid='+jsuid:'')+(hm?'&hm='+hm:'')+(clicky_custom.visitor_consent?'&consent=1':'')+'&mime=js&x='+Math.random(),(type=='pageview'?'js':'beacon'))}_self.ref='';_self.utm=''};this.inject=function(src,type){type=type||'js';if(type=='beacon'){if(window.navigator.sendBeacon&&navigator.sendBeacon(src))return;type='js'}if(type=='js'){var s=document.createElement('script');s.type='text/javascript';s.async=!0;s.src=src}else if(type=='css'){var s=document.createElement('link');s.type='text/css';s.rel='stylesheet';s.href=src}(document.body||document.getElementsByTagName('head')[0]).appendChild(s)};this.is_pageview_fired=function(site_id){for(var p=0;p<pageviews_fired.length;p++)if(pageviews_fired[p]==site_id)return!0;return!1};this.ping_start=function(){if(clicky_custom.ping_disable||_self.pinging||(clicky_custom.timeout&&(clicky_custom.timeout<5||clicky_custom.timeout>240)))return;_self.pinging=1;_self.ps_stop=clicky_custom.timeout?((clicky_custom.timeout*60)-120)+5:485;setTimeout(_self.ping,30000);setTimeout(_self.ping,60000);setTimeout(_self.ping_set,120000)};this.ping_set=function(){var pingy=setInterval(_self.ping,120000);setTimeout(function(){clearInterval(pingy)},_self.ps_stop*1000);_self.ping()};this.ping=function(){_self.beacon('ping')};this.get_cookie=function(name){if(clicky_custom.sticky_data_disable&&name.match(/^_(custom|utm|referrer)/))return'';var ca=document.cookie.split(';');for(var i=0,l=ca.length;i<l;i++){if(ca[i].match(new RegExp("\\b"+name+"=")))return decodeURIComponent(ca[i].split(name+'=')[1]);}return''};this.set_cookie=function(name,value,expires,force){if((clicky_custom.cookies_disable&&!force)||(clicky_custom.sticky_data_disable&&name.match(/^_(custom|utm|referrer)/)))return!1;var maxage=expires=='session'?'':";max-age="+(expires||86400*365);var temp=name+"="+_self.enc(value)+maxage+";path=/;";if(clicky_custom.cookie_domain){temp+='domain='+clicky_custom.cookie_domain+';'}else if(location.hostname.match(/\./))temp+='domain=.'+location.hostname.replace(/^www\./i,'')+';';document.cookie=temp};this.enc=function(e){return window.encodeURIComponent?encodeURIComponent(e):escape(e)};this.add_event=function(o,type,func){if(o.addEventListener){o.addEventListener(type,func,!1)}else if(o.attachEvent){o.attachEvent("on"+type,func)}};this.advanced=function(){var is_link=new RegExp("^(https?|ftp|telnet|mailto|tel):","i");var is_link_internal=new RegExp("^https?:\/\/(.*)"+location.host.replace(/^www\./i,""),"i");var is_download=new RegExp("\\.(7z|aac|apk|avi|cab|csv|dmg|doc(x|m|b)?|epub|exe|flv|gif|gz|jpe?g|js|m4a|mp(3|4|e?g)|mobi|mov|msi|ods|pdf|phps|png|ppt(x|m|b)?|rar|rtf|sea|sit|svgz?|tar|torrent|txt|vcf|web(m|p)|wma|wmv|xls(x|m|b)?|xml|zip)$","i");var a=document.getElementsByTagName("a");for(var i=0;i<a.length;i++){if(typeof(a[i].className)!='string')continue;if(a[i].className.match(/clicky_log/i)){if(a[i].className.match(/clicky_log_download/i)){_self.add_event(a[i],"mousedown",_self.download)}else if(a[i].className.match(/clicky_log_outbound/i)){_self.add_event(a[i],"mousedown",_self.outbound)}else{_self.add_event(a[i],"mousedown",_self.click)}}else{if(clicky_custom.outbound_disable||clicky_custom.advanced_disable||window.clicky_advanced_disable)continue;if(is_link.test(a[i].href)&&!a[i].className.match(/clicky_ignore/i)){if(is_download.test(a[i].href)){_self.add_event(a[i],"mousedown",_self.download)}else if(!is_link_internal.test(a[i].href)){_self.add_event(a[i],"mousedown",_self.outbound)}else if(clicky_custom.outbound_pattern){var p=clicky_custom.outbound_pattern;if(typeof p=='object'){for(var j=0;j<p.length;j++){if(_self.outbound_pattern_match(a[i].href,p[j])){_self.add_event(a[i],"mousedown",_self.outbound);break}}}else if(typeof p=='string'){if(_self.outbound_pattern_match(a[i].href,p))_self.add_event(a[i],"mousedown",_self.outbound);}}}}}};this.adv_log=function(e,type){var obj=_self.get_target(e);_self.log(_self.adv_href(obj),_self.adv_text(obj),type)};this.get_target=function(e){if(!e)var e=window.event;var t=e.target?e.target:e.srcElement;if(t.nodeType&&t.nodeType==3)t=t.parentNode;return t};this.adv_href=function(e){do{if(e.href&&!e.src)return e.href;e=_self.get_parent(e)}while(e);return""};this.adv_text=function(e){do{var txt=e.text?e.text:e.innerText;if(txt)return txt;if(e.title)return e.title;if(e.name)return e.name;if(e.alt)return e.alt;if(e.src)return e.src;e=_self.get_parent(e)}while(e);return""};this.get_parent=function(e){return e.parentElement||e.parentNode};this.outbound_pattern_match=function(href,pattern){return RegExp(pattern.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")).test(href)};this.download=function(e){_self.adv_log(e,"download")};this.outbound=function(e){_self.adv_log(e,"outbound")};this.click=function(e){_self.adv_log(e,"click")}};return new function(){this.getInstance=function(){if(instance==null){instance=new _ins();instance.constructor=null}return instance}}})();var clicky=clicky_obj.getInstance();if(!window.clicky_custom)var clicky_custom={};if(self!=top){try{var test=top.document.title}catch(e){clicky_custom.track_iframe=1}}if(window.clicky_goal)clicky_custom.goal=clicky_goal;if(window.clicky_custom_session)clicky_custom.session=clicky_custom_session;if(clicky_custom.session)clicky_custom.visitor=clicky_custom.session;if(clicky_custom.no_cookies)clicky_custom.cookies_disable=1;var clicky_site_ids=clicky_site_ids||[];if(window.async_site_id)clicky_site_ids.push(async_site_id);if(window.clicky_site_id)clicky_site_ids.push(clicky_site_id);while(clicky_site_ids.length)clicky.init(clicky_site_ids.shift());var _cgen=clicky,_cgen_custom=clicky_custom;_cgen.init(123);$=jQuery;$mainblock="#primary";$be_expand_block="#article-content" 2$entrycontent="#article-content";$=jQuery;var $window=$(window),win_height_padded=$window.height()*1.1;var lcx_events,lcx_frontend;if($(".count_anim").length>0){$('.count_anim').each(function(_,self){makenumberScrolltoN($(this),self)})} 3$(document).delegate(".tnc_rmore","click",function(){$(this).parent().find('.tnc_rshow').addClass('active');$(this).hide()});function makenumberScrolltoN(_this,self){var dur=_this.data("duration");if(typeof dur=='undefined'){dur=2000} 4jQuery({Counter:0}).animate({Counter:$(self).text()},{duration:dur,easing:'swing',step:function(){$(self).text(Math.ceil(this.Counter))}})} 5$.fn.showPopup=function(){this.each(function(){$(this).show().css({"opacity":"0"});$(this).find(".overlay").css({"opacity":"0"});if(window.innerWidth>'767'){var margintop=(window.innerHeight-$(this).find(".inner").outerHeight())/2.1;var marginleft=(window.innerWidth-$(this).find(".inner").outerWidth())/2}else{var margintop=0;var marginleft=0} 6$(this).find(".inner").css({"margin-top":margintop+"px"});$(this).find(".inner").css({"margin-left":marginleft+"px"});$(this).find(".overlay").animate({"opacity":"1"},10);$(this).animate({"opacity":"1"},300);var _thisb=$(this);var _thism=$(this).find(".inner");window.addEventListener('resize',function(event){if(window.innerWidth>'767'){var margintop=(window.innerHeight-_thism.outerHeight())/2.1;var marginleft=(window.innerWidth-_thism.outerWidth())/2}else{var margintop=0;var marginleft=0} 7_thism.animate({"margin-top":margintop+"px","margin-left":marginleft+"px"},200)});
7if(window.innerWidth<767){var innercontheight=_thisb.find(".innside").height();if(innercontheight+60<window.innerHeight){var diffjb=(window.innerHeight-(innercontheight+60))/2;_thisb.find(".innside").css({"margin-top":diffjb+"px"})}} 8$(this).find(".overlay").on("click",function(e){e.preventDefault();var thisholder=$(this).parent();thisholder.fadeOut(100);if(window.innerWidth<960){$(document).find("body").css({"height":"inherit"});$("#primary.site-content").show()} 9setTimeout(function(){thisholder.remove()},100)});$(this).find(".closeOCpopup").on("click",function(e){e.preventDefault();var thisholder=$(this).parent().parent();thisholder.fadeOut(100);if(window.innerWidth<960){$(document).find("body").css({"height":"inherit"});$("#primary.site-content").show()} 10setTimeout(function(){thisholder.remove()},100)})})};function cld_setCookie(cname,cvalue,exdays){var d=new Date();d.setTime(d.getTime()+(exdays*24*60*60*1000));var expires="expires="+d.toUTCString();document.cookie=cname+"="+cvalue+"; "+expires} 11function cld_getCookie(cname){var name=cname+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1)} 12if(c.indexOf(name)==0){return c.substring(name.length,c.length)}} 13return""};function centerBKtermsPop($v){var offset=$v.find(".bookie-terms-popup").offset();if(typeof offset!='undefined'){var widnowstart=($(document).width()-1200)/2;$v.find(".bookie-terms-popup").css({"left":(widnowstart-offset.left)+"px","top":$v.height()+"px"})}};function showBookieCustomTermsPopup($t){if(typeof $tncajaxloadr!='undefined'){$tncajaxloadr.abort()} 14$(document).find(".bookie-terms-loader").each(function(){$(this).remove()});if($t.find(".bookie-terms-popup").length>0){$t.find(".bookie-terms-popup").show().addClass("active");$(document).find(".bookie-terms-popup").each(function(){if($(this).hasClass("active")){}else{$(this).remove()}});centerBKtermsPop($t.find(".bookie-terms-popup"))}else{$(document).find(".bookie-terms-popup").each(function(){$(this).remove()});var options=new Object();options.type=$t.data("type");options.bookie=$t.data("bookie");var _this=$t;$t.append('<div class="bookie-terms-loader"></div>');$tncajaxloadr=$.ajax({type:'POST',url:$site+'/ajax.php',data:{action:'be_ajax_actions',type:"getBet365Tnctexts",data:options,},success:function(data){_this.find(".bookie-terms-loader").remove();_this.parent().append(data);centerBKtermsPop(_this);if(window.innerWidth<1081){var coddntt=_this[0].outerHTML;_this.next().append('<div class="gobut">'+coddntt+'</div>')}}})}};$revealonscrollevents=[];function revealOnScroll(){var scrolled=$window.scrollTop(),win_height_padded=$window.height()*1.1;$(".revealOnScroll:not(.animated)").each(function(){var $this=$(this),offsetTop=$this.offset().top+200;if(scrolled+win_height_padded>offsetTop){if($this.data('timeout')){window.setTimeout(function(){$this.addClass('animated '+$this.data('animation'))},parseInt($this.data('timeout'),10))}else{$this.addClass('animated '+$this.data('animation'))} 15$this.animate({"opacity":"1"},100)}});$(".revealOnScroll.animated").each(function(index){if(typeof $(this).data("func")!='undefined'){if(typeof $revealonscrollevents[$(this).data("func")]=='undefined'){if($(this).data("func").indexOf('(')!==-1){eval($(this).data("func"))}else{window[$(this).data("func")]()} 16$revealonscrollevents[$(this).data("func")]=1}} 17var $this=$(this),offsetTop=$this.offset().top;if(scrolled+win_height_padded<offsetTop){$(this).removeClass('animated dropdown_view2 fadeInUp flipInX lightSpeedIn');$this.animate({"opacity":"0"},100)}})};$("body").delegate(".revealOnHover","mouseover",function(){if(typeof $(this).data("func")!='undefined'){if(typeof $revealonscrollevents[$(this).data("func")]=='undefined'){if($(this).data("func").indexOf('(')!==-1){eval($(this).data("func"))}else{window[$(this).data("func")]()} 18$revealonscrollevents[$(this).data("func")]=1}}});(function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory)}else if(typeof exports==='object'){factory(require('jquery'))}else{factory(jQuery)}}(function($){var pluses=/\+/g;function encode(s){return config.raw?s:encodeURIComponent(s)} 19function decode(s){return config.raw?s:decodeURIComponent(s)} 20function stringifyCookieValue(value){return encode(config.json?JSON.stringify(value):String(value))} 21function parseCookieValue(s){if(s.indexOf('"')===0){s=s.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,'\\')} 22try{s=decodeURIComponent(s.replace(pluses,' '));return config.json?JSON.parse(s):s}catch(e){}} 23function read(s,converter){var value=config.raw?s:parseCookieValue(s);return $.isFunction(converter)?converter(value):value} 24var config=$.cookie=function(key,value,options){if(arguments.length>1&&!$.isFunction(value)){options=$.extend({},config.defaults,options);if(typeof options.expires==='number'){var days=options.expires,t=options.expires=new Date();t.setTime(+t+days*864e+5)} 25return(document.cookie=[encode(key),'=',stringifyCookieValue(value),options.expires?'; expires='+options.expires.toUTCString():'',options.path?'; path='+options.path:'',options.domain?'; domain='+options.domain:'',options.secure?'; secure':''].join(''))} 26var result=key?undefined:{};var cookies=document.cookie?document.cookie.split('; '):[];for(var i=0,l=cookies.length;i<l;i++){var parts=cookies[i].split('=');var name=decode(parts.shift());var cookie=parts.join('=');if(key&&key===name){result=read(cookie,value);break} 27if(!key&&(cookie=read(cookie))!==undefined){result[name]=cookie}} 28return result};config.defaults={};
28$.removeCookie=function(key,options){if($.cookie(key)===undefined){return!1} 29$.cookie(key,'',$.extend({},options,{expires:-1}));return!$.cookie(key)}}));if($("#news-slider-mini").length>0){$("#news-slider-mini li").first().addClass("active");function changeNewsSliderMini(){var thiss=$("#news-slider-mini li.active");var n=$("#news-slider-mini li.active").next();thiss.removeClass("active");n.addClass("active");var c=$("#news-slider-mini li.active");if(c.length<1){$("#news-slider-mini li").first().addClass("active");c=$("#news-slider-mini li.active")} 30var title=c.find("a").text();var link=c.find("a").attr("href");$("#news-slider-mini .ticker").fadeOut(500);setTimeout(function(){$("#news-slider-mini .ticker").html('<a href="'+link+'">'+title+'</a>');$("#news-slider-mini .ticker").fadeIn(200)},500)}} 31$.fn.animateRotate=function(angle,duration,easing,complete){return this.each(function(){var $elem=$(this);$({deg:0}).animate({deg:angle},{duration:duration,easing:easing,step:function(now){$elem.css({transform:'rotate('+now+'deg)'})},complete:complete||$.noop})})};$.fn.makeGallery=function(){var _this=this;var ttcount=0;var currentFrame='';this.find(".be_box").each(function(){$(this).attr("class","be_box");ttcount++});this.find(".be_box").first().addClass("active");currentFrame=this.find(".active");afterFrame();setInterval(function(){afterFrame()},2000);this.find(".icon-arrow-left").on("click",function(){loadPrev()});this.find(".icon-arrow-right").on("click",function(){loadNext()});function stayFrame(){var theight=currentFrame.height();_this.find(".gallins").css({"height":theight})} 32function afterFrame(){var theight=currentFrame.find("img").height();_this.find(".navi").css({"top":theight/2}) 33if(currentFrame.prev().length==0){_this.find(".icon-arrow-left").addClass("disabled")}else{_this.find(".icon-arrow-left").removeClass("disabled")} 34if(currentFrame.next().length==0){_this.find(".icon-arrow-right").addClass("disabled")}else{_this.find(".icon-arrow-right").removeClass("disabled")}} 35function loadPrev(){stayFrame();if(currentFrame.prev().length>0){currentFrame.removeClass("active");currentFrame.prev().addClass("active");currentFrame=_this.find(".active")} 36_this.find(".gallins").css({"height":'inherit'});afterFrame()};function loadNext(){stayFrame();if(currentFrame.next().length>0){currentFrame.removeClass("active");console.log(currentFrame.next().length);currentFrame.next().addClass("active");currentFrame=_this.find(".active")} 37_this.find(".gallins").css({"height":'inherit'});afterFrame()}};(function($){$.Lazy('loadTemplatePart',function(element,response){if(element.hasClass("encjs")){element.addClass("loaded");part=element.data("part");var options={'template-parts':part} 38$.each(element[0].attributes,function(){if(this.name!='data-loader'&&this.name!='data-part'){options[this.name]=this.value}});eye.modules.ajax_call('template-parts-loader','',options,function(data){if(typeof options['data-no-container']!='undefined'){element.replaceWith(data)}else{element.html(data)} 39element.find(".lazy").each(function(){$(this).lazy()})})} 40response(!0)});$.Lazy('loadScriptsSC',function(element,response){if(element.hasClass("encjs")){element.addClass("loaded");var dtype=element.data("ajaxtype");eye.core.ajax_call('script_sc_print',{jstxt:element.html(),ajaxtype:dtype},function(data){element.html(data)})} 41response(!0)});$.Lazy('loadComparisonSC',function(element,response){eye.core.ajax_call('get_compare_shortcode',{atts:element.data("scatts")},function(data){element.html(data);element.find(".lazy").each(function(){$(this).lazy()})});response(!0)})})(window.jQuery||window.Zepto);class Eye_FootPrint{constructor(){this.user_details=[];this.logged=0;this.user_menu=0;this.subscribtions_loaded=0;this.check_logged();$("body").append('<div class="fp-holder"></div>');this.ui_holder=$(".fp-holder");var _this=this;$("body").delegate(".fp_login_button","click",function(e){e.preventDefault();if($.cookie('fpuser')==''||typeof $.cookie('fpuser')=='undefined'){_this.show_login()}else{if(_this.user_menu==0){if(_this.ui_holder.find(".fl_user_panel").length<1){_this.show_preloader();eye.modules.ajax_call("footprint","user_panel","",function(data){_this.hide_preloader();_this.ui_holder.append(data);_this.hide_all_other_popups("fl_user_panel");$(".fl_user_panel").showPopup()})}else{$(".fl_user_panel").showPopup()}}}});$(document).on("click",".fp_show_register",function(e){e.preventDefault();if(_this.ui_holder.find(".fp_register_box").length<1){_this.show_preloader();eye.modules.ajax_call("footprint","register_box","",function(data){_this.hide_preloader();_this.ui_holder.append(data);_this.hide_all_other_popups("fp_register_box");$(".fp_register_box").showPopup()})}else{_this.hide_all_other_popups("fp_register_box");$(".fp_register_box").showPopup()}});$(document).on("click",".fp_show_forgot",function(e){e.preventDefault();if(_this.ui_holder.find(".fp_forgot_box").length<1){_this.show_preloader();eye.modules.ajax_call("footprint","forgot_box","",function(data){_this.hide_preloader();_this.ui_holder.append(data);_this.hide_all_other_popups("fp_forgot_box");$(".fp_forgot_box").showPopup()})}else{_this.hide_all_other_popups("fp_forgot_box");$(".fp_forgot_box").showPopup()}});$("body").on("click",".googlelogin",function(){_this.show_preloader()});$("body").delegate(".fp_logout","click",function(e){e.preventDefault();_this.logout()});$("body").delegate(".comment-reply-link","click",function(e){e.preventDefault();var commcontainer=$(this).parent();if(commcontainer.find(".reply-form").length<1){commcontainer.append('<div class="reply-form"></div>')} 42var parcontainer=commcontainer.find(".reply-form");_this.show_preloader();
42var commentid=$(this).data("commentid");eye.modules.ajax_call("footprint","load_comment_form",{form:'reply',lang:$lang,postID:$postID,parent:commentid},function(data){_this.hide_preloader() 43parcontainer.html(data)})});$(document).on("click",".pubc",function(e){e.preventDefault();$(this).hide()})} 44check_logged(){var fpcookies=[];var cookies=document.cookie?document.cookie.split('; '):[];for(var i=0,l=cookies.length;i<l;i++){var parts=cookies[i].split('=');var name=parts.shift();fpcookies.push(name)} 45if($.cookie('fpuser')!=''&&typeof $.cookie('fpuser')!='undefined'){setInterval(function(){eye.modules.ajax_call("footprint","check_user_cred","",function(data){if(data=='false'){location.reload()}})},15000);if(typeof $.cookie('fp_user_checked')=='undefined'){eye.modules.ajax_call("footprint","inudets","",function(data){$.cookie('fp_user_checked','1',{expires:0.3,path:'/'})})}} 46if(typeof $.cookie('fpuser')=='undefined'||$.cookie('fpuser')==''){this.logged=0}else{if(this.user_details==''){this.user_details=JSON.parse($.cookie('fpuser_details'))} 47this.logged=1} 48this.subscribtions()} 49subscribtions(){if(this.subscribtions_loaded==0){var _thiss=this;if($(document).find(".user-subscribe-button").length>0){$(".user-subscribe-button").each(function(){var thisuid=$(this).data("uid");if(thisuid==_thiss.user_details.ID){$(this).hide()}else{if(typeof _thiss.user_details.subscribtions!='undefined'){if(_thiss.user_details.subscribtions.includes(thisuid)){$(this).addClass("subscribed");$(this).find("span").text($(this).data("subscribed-text"));if($(this).find("i").length>0){$(this).find("i").attr("class","icon-check")}}}}});$(document).delegate(".user-subscribe-button","click",function(e){e.preventDefault();var UID=$(this).data("uid");var _this=$(this);if(_thiss.logged==1){_thiss.show_preloader();eye.modules.ajax_call("footprint","subscribe",{uid:UID},function(data){_thiss.hide_preloader();if(data=='subscribed'){_this.addClass("subscribed");_this.find("span").text(_this.data("subscribed-text"))}else{_this.removeClass("subscribed");_this.find("span").text(_this.data("subscribe-text"))}})}else{_thiss.show_login()}})}}} 50facebook_login(callback){FB.login(function(response){if(response.authResponse){FB.api('/me?fields=name,email,picture.width(400).height(400)',function(response){eye.modules.ajax_call('footprint',"facebook_callback",response,function(data){eye.footprint.check_logged();eye.core.theme.login();if(callback==1){fb_callback_eyefn(data)}})})}else{alert('User cancelled login or did not fully authorize.')}},{scope:'email,public_profile'})} 51logout(){this.delete_user_cache()} 52delete_user_cache(){eye.modules.ajax_call("footprint","logout","",function(data){location.reload()})} 53show_login(){var _this=this;if(this.ui_holder.find(".fp_login_box").length<1){this.show_preloader();eye.modules.ajax_call("footprint","login_box","",function(data){_this.hide_preloader();_this.ui_holder.append(data);_this.hide_all_other_popups("fp_login_box");$(".fp_login_box").showPopup()})}else{$(".fp_login_box").showPopup()}} 54comment_form(form_type,postID,button,reviewtext){if($(".fp_comment_form_holder").length>0){this.show_preloader();eye.modules.ajax_call("footprint","load_comment_form",{form:form_type,lang:$lang,postID:postID,button:button,reviewtext:reviewtext},function(data){eye.footprint.hide_preloader();$(".fp_comment_form_holder").html(data)})}} 55scroll_to_comment_form(){$('html, body').animate({scrollTop:$(".fp_comment_form_holder").offset().top-50},1500)} 56show_preloader(){if($("body").find(".fp_prloeader").length<1){$("body").append('<div class="fp_prloeader"></div>')} 57$(".fp_prloeader").show()} 58hide_preloader(){$(".fp_prloeader").hide()} 59hide_all_other_popups(dclases){$(document).find(".fp_popup").each(function(){if(!$(this).hasClass(dclases)){$(this).hide()}})} 60validate_email(email){if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email)){return!0}else{return!1}} 61moments(time){var timedef=time;time=time+':00 UTC';switch(typeof time){case 'number':break;case 'string':time=+new Date(time);break;case 'object':if(time.constructor===Date)time=time.getTime();break;default:time=+new Date()} 62if(isNaN(time)){return time}else{var diff=Math.floor((new Date()-new Date(time))/1000);if(diff<0){diff=0} 63var time_formats=[[0,jstiming['time-ago/just-now']],[60,jstiming['time-ago/minutes/one']],[120,jstiming['time-ago/minutes/many']],[3600,jstiming['time-ago/hours/one']],[7200,jstiming['time-ago/hours/many']],[86400,jstiming['time-ago/yesterday']],[172800,jstiming['time-ago/d
63ays/many']],[5184000,jstiming['time-ago/months/many']],];var current_format='';var i=0,format;while(format=time_formats[i++]){if(diff>format[0]){current_format=format[1]}} 64if(diff==0){current_format=jstiming['time-ago/just-now']} 65if(current_format.includes("[date]")){return new Date(time)}else if(current_format.includes("[month]")){return current_format.replace("[month]",Math.floor(diff/2592000))}else if(current_format.includes("[days]")){return current_format.replace("[days]",Math.floor(diff/86400))}else if(current_format.includes("[hours]")){return current_format.replace("[hours]",Math.floor(diff/3600))}else if(current_format.includes("[minutes]")){return current_format.replace("[minutes]",Math.floor(diff/60))} 66return current_format}}} 67class UIMessages{constructor(){} 68hideme(){this.base.css({"opacity":0});this.base.hide()} 69show(message,time,fnstart,fnend){var _this=this;$(".fp-ui-message .contt").hide();if($(".fp-ui-message").length<1){$("body").append('<div class="fp-ui-message"><div class="ovr"></div><div class="contt"><div class="icon-x"></div><div class="hln"></div></div></div>');this.base=$(".fp-ui-message")} 70this.base.show();this.base.find(".hln").html(message);var mhd=this.base.find(".contt").height();var mwd=this.base.find(".contt").width();this.base.find(".contt").css({"top":($(window).height()-mhd)/2,"left":($(window).width()-mwd)/2,});if(fnstart!=''){eval(fnstart)} 71setTimeout(function(){$(".fp-ui-message .contt").show();$(".fp-ui-message").animate({"opacity":1},2)},100);setTimeout(function(){$(".fp-ui-message").fadeOut(100);setTimeout(function(){$(".fp-ui-message .contt").hide();$(".fp-ui-message .hln").html('')},120);if(fnend!=''){eval(fnend)}},time);this.base.find(".ovr").on("click",function(){if(fnend!=''){eval(fnend)}_this.hideme()});this.base.find(".icon-x").on("click",function(){if(fnend!=''){eval(fnend)}_this.hideme()})}} 72let uimessages=new UIMessages();class StarChooser{fillstars(_this,d){var i=0;_this.find(".activ").each(function(){$(this).removeClass("activ")});_this.find(".icon-star").each(function(){i++;if(i<d){$(this).addClass("activ")}else if(i==d){$(this).addClass("activ current")}else{$(this).removeClass("activ")}});_this.find("b").text(d)} 73constructor(){$("body").delegate(".fp_rating","mouseout",function(){var star_rating_value=$(this).attr("data-default-rating");if(star_rating_value!=$(this).find("b").text()){starChooser.fillstars($(this),star_rating_value)}});$("body").delegate(".fp_rating .icon-star","mouseover",function(){starChooser.fillstars($(this).parent(),$(this).data("sti"))});$("body").delegate(".fp_rating .icon-star","click",function(){$(this).parent().attr("data-default-rating",$(this).data("sti"));starChooser.fillstars($(this).parent(),$(this).data("sti"))})}} 74let starChooser=new StarChooser();const Reactions={$root:null,selectors:new Object(),after_emo_hook:null,currentItem:null,$document:null,animationEnd:null,click_outside:[],start(ops){this.bundle=ops.bundle;this.item_selector=ops.selector_items;this.area_selector=ops.selector_area;this.selectors={root:this.area_selector,trigger:this.item_selector,popover:'[data-reactions-popover]',btnEmo:'[data-trigger-emo]'};if(typeof ops.after_emo_hook!='undefined'){this.after_emo_hook=ops.after_emo_hook};this.$root=$(this.selectors.root);this.$document=$(document);this.animationEnd=this.checkAnimationEnd();this.bind()},checkAnimationEnd(){const div=document.createElement('div') 75const animations={animation:'animationend',OAnimation:'oAnimationEnd',MozAnimation:'mozAnimationEnd',WebkitAnimation:'webkitAnimationEnd',} 76for(let t in animations){if(div.style[t]!==undefined){return animations[t]}}},bind(){this.$root.on('click',"*",$.proxy(this.onClickOutside,this));$(document).delegate(this.selectors.trigger,'click',$.proxy(this.onTriggerClick,this));$(document).delegate(this.selectors.btnEmo,'click',$.proxy(this.onEmoClick,this));this.$document.on('keydown',$.proxy(this.onEscPress,this))},onClickOutside(event){var t=$(event.target);for(var el in this.click_outside){if(typeof this.click_outside[el][0]=='function'){if(t.closest(this.click_outside[el][1]).length==0){this.click_outside[el][0](this.click_outside[el][1])}}}},onTriggerClick(event){event.preventDefault();const $target=$(event.target);const $root=$target.closest(this.selectors.root);const $popover=$root.find(this.selectors.popover);const isVisible=!1===$popover.hasClass('eyereacts-only');if(isVisible){var currentTargetRect=event.currentTarget.getBoundingClientRect();$(this.selectors.popover).removeClass('eyereacts-only');var leftps=currentTargetRect.left;if((leftps+$(this.selectors.popover).width())>window.outerWidth){leftps=leftps-((leftps+$(this.selectors.popover).width())-window.outerWidth)} 77$(this.selectors.popover).css({"top":currentTargetRect.top-$(this.selectors.popover).height()-10,"left"
77:leftps});$(this.selectors.popover).show();$(this.selectors.popover).attr("data-to-id",$(event.currentTarget).data("id"));$(this.selectors.popover).attr("data-to-bundle",this.bundle);this.currentItem=$(event.currentTarget);var itemm=this.selectors.popover;this.set_outside_listener('test',itemm,function(itemm){$(document).find(itemm).hide()})}else{$(this.selectors.popover).addClass('eyereacts-only')}},set_outside_listener(name,element,after){this.click_outside[name]='';var _this=this;setTimeout(function(){_this.click_outside[name]=[after,element]},50)},onEmoClick(event){event.preventDefault();this.doReaction($(event.target).data("trigger-emo"))},doReaction(type){this.closePopovers();var toid=$(document).find(this.selectors.popover).attr("data-to-id");var array={action:'eye_ajax_loader',module:'footprint',do:'do_reactions',lang:$lang,core:1,type:type,bundle:this.bundle,for_id:toid};$.ajax({type:'POST',url:window.location.protocol+'//'+window.location.hostname+'/core/load.php?mod=footprint',data:array}).done($.proxy(this.onSaveSuccess,this)).fail($.proxy(this.onSaveFail,this))},findItemResults(){if(this.currentItem.find(".eyereacts-reactions__results").length>0){return this.currentItem.find(".eyereacts-reactions__results")}else{return this.currentItem.parent().find(".eyereacts-reactions__results")}},onSaveSuccess(response){response=JSON.parse(response);var thisitemclicked=this.findItemResults();if(thisitemclicked!=''){thisitemclicked.replaceWith(response.html);thisitemclicked=this.findItemResults();thisitemclicked.addClass("eyereacts-changedemo");var _this=this;$(this.selectors.root).find(".eyereacts-changedemo").each(function(){var _this=$(this);setTimeout(function(){_this.removeClass("eyereacts-changedemo")},100000)});if(this.after_emo_hook!=''){var hookdd=this.after_emo_hook;if(typeof window[hookdd]!=="undefined"){window[hookdd](response)}}} 78this.currentItem=null},onSaveFail(xhr,status,error){console.log(error);if(typeof eye.footprint!='undefined'){if(eye.footprint.logged==1){uimessages.show("Please login!",545458000,"",'')}}},onEscPress(event){if(event.keyCode&&event.keyCode===27){this.closePopovers()}},closePopovers(){$(this.selectors.popover).hide().addClass('eyereacts-only')},} 79class Eye_GDPR{constructor(types,hooks){if($.cookie('gdpr')=='1'){}else{if(typeof types!='undefined'){if(typeof hooks!='undefined'){this.hooks=hooks;this.cookie_types=types;this.delegates()}}}};render_types(){if(this.rendered==0){$("#cookie-policy__configure").prepend('<ul id="cpol_nav"></ul>');for(var v in this.cookie_types.types){$(".cpol_form").append('<div class="cookies-policy__section" id="cpol_'+v+'"><span class="tttld">'+this.cookie_types.types[v].title+'</span>'+this.cookie_types.types[v].description+'<label><input type="checkbox"> '+this.cookie_types.types[v].title+'</label></div>');$("#cpol_nav").append('<li rel="cpol_'+v+'">'+this.cookie_types.types[v].title+'</li>')} 80$(".cpol_form .cookies-policy__section").first().addClass("active");$(".cpol_form .cookies-policy__section").first().find("input").attr("checked","checked");$("#cpol_nav li").first().addClass("active");this.rendered=1}} 81delegates(){var _this=this;this.rendered=0;$(".cookie-policy").show();$(".cpol_desc").html(this.cookie_types.title);$("#cookie-policy__config").on("click",function(){_this.render_types();$(".cpol_configure").slideDown()});$(".cookie-policy").delegate("#cpol_nav li","click",function(){var thisrel=$(this).attr('rel');$(".cookies-policy__section").each(function(){$(this).removeClass("active");if($(this).attr("id")==thisrel){$(this).addClass("active")}});$("#cpol_nav li").each(function(){$(this).removeClass("active")});$(this).addClass("active")});$("#cookie-policy__accept").on("click",function(){$.cookie('gdpr','1',{expires:120,path:'/'});$(".cookie-policy").slideUp();_this.run_cookies(Object.keys(_this.cookie_types.types))}) 82$("#cookie-policy__done").on("click",function(){var dd=[];$(".cookies-policy__section").each(function(){if($(this).find("input").prop("checked")==!0){dd.push($(this).attr("id").replace("cpol_",""))}});_this.run_cookies(dd)})} 83run_cookies(types){for(var tyy in this.cookie_types.types){if(this.cookie_types.types[tyy].cookies.length>0){for(var coo in this.cookie_types.types[tyy].cookies){if(typeof this.hooks[this.cookie_types.types[tyy].cookies[coo]]!='undefined'){this.hooks[this.cookie_types.types[tyy].cookies[coo]]()}}}}}} 84class Eye_Tables{constructor(){if(typeof eye_table_id!=='undefined'){this.table_id=eye_table_id;this.row_class=eye_row_class;this.row_cell=eye_row_cell;this.cell_count=0;this.no_reorder_js=eye_table_no_reorder_js;this.init()}};init(){if($(this.table_id).length>0){this.labels=$(this.table_id).find(this.row_class+".labels");var thiscellcount=0;$(this.row_class).first().find(this.row_cell).each(function(){thiscellcount++});this.cell_count=thiscellcount;this.resolution_fixes();this.delegates()}} 85delegates(){$(this.table_id).delegate("."+eye_show_more_class,"click",function(){$(this).parent().parent().find(eye_row_class+".dontshow").each(function(){$(this).removeClass("dontshow")});$(this).remove()})} 86resolution_fixes(){if(eye.core.win_width>767&&this.cell_count>4){var cellarrangement=new Object();$(this.table_id).find(this.row_class).first().find(this.row_cell).each(function(){cellarrangement[$(this).data("cell")]=$(this).width()});$(this.table_id).find(this.row_cell).each(function(){$(this).css({"width":cellarrangement[$(this).data("cell")]})})}} 87reorder(){if(this.no_reorder_js!=1){var topops=[];function reOrderTable_changefield(field,opslug,obj){if(obj.length>0){if(field in eye.core.user_params.countryPrefDetails[opslug]){obj.text(eye.core.user_params.countryPrefDetails[opslug][field])}}} 88if(typeof eye.core.user_params.countyHide!='undefined'){$(eye.tables.table_id).find(eye.tables.row_class).each(function(){if(eye.core.user_params.countyHide.includes($(this).data("operator"))){$(this).remove()}})} 89$(eye.tables.table_id).find(eye.tables.row_class).each(function(){var opslug=$(this).data("operator");if(eye.core.user_params.operators[1][opslug]==1){$(this).addClass("avcountryhere")}});$(eye.tables.table_id).find(eye.tables.row_class).each(function(){if(eye.core.user_params.countryPreferred.includes($(this).data("operator"))){topops[$(this).data("operator")]=$(this)[0].outerHTML;$(this).remove()}});var out='';for(var i in eye.core.user_params.countryPreferred){if(topops.hasOwnProperty(eye.core.user_params.countryPreferred[i])){out+=topops[eye.core.user_params.countryPreferred[i]]}} 90if($(eye.tables.labels).length>0){$(eye.tables.labels).after(out)}else{if($(eye.tables.table_id).find(".rows").length>0){$(eye.tables.table_id).find(".rows").prepend(out)}else{$(eye.tables.table_id).find("table").prepend(out)}} 91$(eye.tables.table_id).find(eye.tables.row_class).each(function(){if(eye.core.user_params.countryPreferred.includes($(this).data("operator"))){$(this).addClass("highlight");$(this).find(".putcountry").html('<div class="countrypref"><span class="flag flag-'+eye.core.user_params.countryCode.toLowerCase()+'">'+eye.core.user_params.countryFlag+'</span><div class="tpoptip">'+eye_table_top_country_text+eye.core.user_params.countryName+'</div>')}})} 92$(eye.tables.table_id).find(eye.tables.row_class).each(function(){if($(this).hasClass("highlight")){$(this).removeClass("dontshow")} 93if($(this).html()==''){$(this).remove()}});$(eye.tables.table_id).find("img[data-src]").lazy();$(eye.tables.table_id).find(".logo.lazy").lazy();$(eye.tables.table_id).find(".paymnt.lazy").lazy()}} 94const eye=[];class Eye{constructor(){this.win_width=$(window).width();this.win_height=$(window).height();this.doc_height=$(document).height();this.doc_width=$(document).width();this.nav_closed=1;this.device_sys='';this.device='';this.click_outside=[];this.hooks=[];this.loc_hooks=[];this.theme=[];this.user_params=[];this.check_device();this.ui_listeners()};init(){this.listeners();this.languages()} 95load(){this.init();eye.modules=new Eye_Modules();eye.paint=new Eye_Paint();eye.footprint=new Eye_FootPrint();eye.tables=new Eye_Tables();this.filters();this.load_theme();this.connector()} 96connector(){var options=new Object();options.bookmakers=[];options.casinos=[];options.cur_lang=eye_settings.lang;$(".getcountry").each(function(){if($(this).data("type")=='1'){options.bookmakers.push($(this).data("op"))} 97if($(this).data("type")=='2'){options.casinos.push($(this).data("op"))}});if(typeof eye_settings.coperator!='undefined'){options.coperator=eye_settings.coperator} 98$.ajax({type:'POST',url:eye_settings.host+'/app/includes/connector.php',data:{action:'operator_cntry',site:eye_settings.host,cururl:window.location.href,postID:$postID,el:options,lang:$lang,locale:$locale},success:function(data){eye.core.user_params=JSON.parse(data);if(typeof eye.core.theme.after_load!='undefined'){eye.core.theme.after_load()} 99if(typeof eye.core.user_params.restricted!='undefined'&&eye.core.user_params.restricted.length>0){if(typeof eye_row_class!='undefined'){for(var el in eye.core.user_params.restricted){$(eye_row_class+"[data-operator='"+eye.core.user_params.restricted[el]+"']").remove()}} 100try{hideReview()}catch(err){}} 101try{blurGeo()}catch(err){} 102if(typeof eye.core.theme.after_load!='undefined'){eye.core.theme.after_load()}
103var countr=eye.core.user_params;if(countr.countryCode=='US'&&$("html").attr("lang")=='en'){var av_us_operators=["888sport","888casino","betfair","bet365","unibet"];$("*[data-operator").each(function(){if(!av_us_operators.includes($(this).data("operator"))){$(this).remove()}else{$(this).removeClass("dontshow")}})};if(countr.countryCode=='ZA'){$("*[data-operator='betway']").each(function(){$(this).hide()})} 104$(".getcountry").each(function(){var type=$(this).data("type");var view=$(this).data("show");if(typeof countr.countryCode!='undefined'&&countr.countryCode!=null&&countr.countryCode!=''){if(view=='countryName'){$(this).append(countr.countryName)}else if(view=='countryFlag'){$(this).append('<div class="flag flag-'+countr.countryCode+'">'+countr.countryFlag+'</div>')}else{if(typeof view!='undefined'){if(typeof countr.operators!='undefined'&&typeof countr.operators[type]!='undefined'){if(typeof countr.operators[type][$(this).data("op")]!="undefined"){if(countr.operators[type][$(this).data("op")]==1){if(view=='flag'){$(this).append('<div class="flag flag-'+countr.countryCode+'">'+countr.countryFlag+'</div>')}else if(view=='text'){$(this).append('<div class="accept"><span>'+eye_settings.acceptText+' '+countr.countryName+'</span></div>')}else if(view=='check'){$(this).append('<div class="icon-check"></div>')}else if(view=='check-flag'){$(this).append('<div class="icon-check"></div><div class="flag flag-'+countr.countryCode.toLowerCase()+'"></div>'+countr.countryName)}else{if(typeof eye_settings.countryacccode=='undefined'||eye_settings.countryacccode==''){$(this).append('<div class="accept"><span>'+eye_settings.acceptText+' '+countr.countryName+'</span><div class="flag flag-'+countr.countryCode.toLowerCase()+'">'+countr.countryFlag+'</div></div>')}else{$(this).append(eye_settings.countryacccode)}}}else if(countr.operators[type][$(this).data("op")]==0){if(view=='flag'){}else if(view=='text'){$(this).append('<div class="notaccept"><span>'+eye_settings.notacceptText+' '+countr.countryName+'</span></div>')}else if(view=='check'){$(this).append('<div class="icon-x"></div>')}else if(view=='check-flag'){$(this).append('<div class="icon-x"></div>'+countr.countryName)}else{$(this).append('<div class="notaccept">'+eye_settings.notacceptText+' '+countr.countryName+'</div>')}}}}}}}});if(eye.core.user_params.do_geo_alert){eye.modules.ajax_call("geo_pages","alert_popup",{region:eye.core.user_params.do_geo_alert,postID:$postID},function(data){$("body").append(data)})} 105if(typeof showGeoBookmakers==="function"){showGeoBookmakers()} 106if(eye.tables){eye.tables.reorder()} 107eye.core.user_location_init()}})} 108listeners(){document.body.onclick=function(event){var t=$(event.target);for(var el in eye.core.click_outside){if(typeof eye.core.click_outside[el][0]=='function'){if(t.closest(eye.core.click_outside[el][1]).length==0){eye.core.click_outside[el][0](eye.core.click_outside[el][1])}}}}} 109set_outside_listener(name,element,after){eye.core.click_outside[name]='';setTimeout(function(){eye.core.click_outside[name]=[after,element]},200)} 110filters(){for(var hook in this.hooks){this.hooks[hook]()}} 111user_location_init(){for(var hook in this.loc_hooks){this.loc_hooks[hook]()}} 112set_cookie(name,value,period){$.cookie(name,value,{expires:period,path:'/'})} 113load_theme(){for(var hook in this.theme){this.theme[hook]()}} 114ajax_call(dod,options,callback){var array={action:'be_ajax_actions',type:dod,lang:$lang};$.extend(array,options);$.ajax({type:'POST',url:$site+'/ajax.php',data:array,success:function(data){if(typeof callback=="function"){callback(data)}}});return!0} 115go_click(slug,link){var options=new Object();options.link=link;options.op=slug;options.curl=window.location.href;eye.core.ajax_call('countClicks',{data:options},function(data){})} 116sharer(){if(this.device_sys=='android'&&typeof navigator.share=='function'){$('.android-share').addClass("shown");$(".agent-share").hide();const android_btn=document.querySelector('.android-share');android_btn.addEventListener('click',async()=>{try{const shareData={title:$('.android-share').data("title"),text:$('.android-share').data(""),url:$('.android-share').data("link"),} 117await navigator.share(shareData)}catch(err){}})}} 118languages(){if(this.device=='desktop'){$("#languages").hover(function(){$(this).addClass("active")},function(){$(this).removeClass("active")})}else{$("#languages .current").on("click",function(){var _langs=$(this).parent();_langs.addClass("active");if($("body").hasClass("is_mobile")){if($(this).parent().find(".icon-x").length==0){$(this).parent().find("ul").prepend("<i class='icon-x'></i>")}} 119eye.core.click_outside.language_hide=[function(){$("#languages").removeClass("active")},"#languages"]});$("#languages").on("click",".icon-x",function(){$(this).parent().parent().removeClass("active")})}} 120check_device(){this.device_sys=this.operatingSystem();this.device=this.deviceType()} 121deviceType(){var touch=0;if(window.matchMedia("(pointer: coarse)").matches){touch=1} 122var type='phone';if(this.win_width>767){type='tablet'} 123if(this.win_width>767&&touch==0){type='desktop'} 124return type} 125operatingSystem(){var operatingSystemName=NaN;var userAgent=window.navigator.userAgent;var osNamesTokens=[{osName:"Windows 2000",osToken:/(Windows NT 5.0|Windows 2000)/,}
125,{osName:"Windows XP",osToken:/(Windows NT 5.1|Windows XP)/,},{osName:"Windows Server 2003",osToken:/Windows NT 5.2/,},{osName:"Windows Vista",osToken:/Windows NT 6.0/,},{osName:"Windows 7",osToken:/(Windows 7|Windows NT 6.1)/,},{osName:"Windows 8.1",osToken:/(Windows 8.1|Windows NT 6.3)/,},{osName:"Windows 8",osToken:/(Windows 8|Windows NT 6.2)/,},{osName:"Windows Phone",osToken:/Windows Phone/,},{osName:"Windows 10",osToken:/(Windows 10|Windows NT 10.0)/,},{osName:"Windows ME",osToken:/Windows ME/,},{osName:"Windows NT 4.0",osToken:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,},{osName:"Android",osToken:/Android/,},{osName:"Open BSD",osToken:/OpenBSD/,},{osName:"Sun OS",osToken:/SunOS/,},{osName:"Linux",osToken:/(Linux|X11)/,},{osName:"iOS",osToken:/(iPhone|iPad|iPod)/,},{osName:"Mac OS X",osToken:/Mac OS X/,},{osName:"Mac OS",osToken:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/,},{osName:"QNX",osToken:/QNX/,},{osName:"UNIX",osToken:/UNIX/,},{osName:"BeOS",osToken:/BeOS/,},{osName:"OS/2",osToken:/OS\/2/,},{osName:"Search Bot",osToken:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/,},];for(var index in osNamesTokens){var osKeyValuePair=osNamesTokens[index];if(osKeyValuePair.osToken.test(userAgent)){operatingSystemName=osKeyValuePair.osName;break}} 126if(operatingSystemName&&operatingSystemName.indexOf("Windows")!==-1&&operatingSystemName.indexOf("Phone")===-1){let lastSpace=operatingSystemName.lastIndexOf(" ");if(lastSpace!==-1){operatingSystemName=operatingSystemName.substring(0,lastSpace)}} 127return operatingSystemName.toLowerCase()} 128ui_listeners(){var _this=this;$(function(){_this.sharer()});$(document).delegate("[data-tooltip]","mouseover",function(){eye.paint.tooltip($(this))});$(document).delegate("[data-tooltip]","mouseout",function(){$(".toolTip").hide()});$("body").delegate(".tabular .nav li","click",function(){var _this_root=$(this).parent().parent();var thisc=$(this).data("id");if(typeof thisc!=='undefined'){$(this).parent().find("li").each(function(){$(this).removeClass("active")});$(this).addClass("active");$(this).parent().parent().find(".tabls").each(function(){$(this).removeClass("active");if($(this).data("id")==thisc){$(this).addClass("active")}});if($(this).parent().parent().hasClass("ajax")){var id=$(this).data("id");eye.footprint.show_preloader();eye.modules.ajax_call(_this_root.data("module"),_this_root.data("load"),{id},function(data){_this_root.find(".tabls").each(function(){if($(this).data("id")==thisc){$(this).html(data);eye.footprint.hide_preloader()}})})}} 129if($(this).hasClass("showmore")){$(this).parent().find(".hidden").each(function(){$(this).removeClass("hidden")});$(this).remove()} 130if(_this.win_width<600){$(this).parent().animate({scrollLeft:$(this).position().left},200)} 131$(document).find(".lazy").each(function(){$(this).lazy()})});if($(".dropdown").length>0){$(".dropdown").each(function(){var thisid=$(this).attr("id");_this.make_dropdown("#"+thisid)})} 132$("body").delegate(".base_tabs .nav li","click",function(){var thisc=$(this).data("slug");$(this).parent().find("li").each(function(){$(this).removeClass("active")});$(this).addClass("active");$(this).parent().parent().find(".tab").each(function(){$(this).removeClass("active");if($(this).data("slug")==thisc){$(this).addClass("active")}})});$("body").delegate(".acc-box .achead","click",function(){$(this).parent().find(".accont").fadeToggle(300);if($(this).parent().hasClass("opened")){$(this).parent().removeClass("opened")}else{$(this).parent().addClass("opened")} 133if(typeof $(this).parent().find(".accont img").attr("src")=='undefined'){var dmd=$(this).parent().find(".accont img").attr("data-src");$(this).parent().find(".accont img").attr("src",dmd)}});$("body").delegate(".accbox .head","click",function(){$(this).parent().find(".cont").slideToggle(300);if($(this).parent().hasClass("opened")){$(this).parent().removeClass("opened")}else{$(this).parent().addClass("opened")} 134if(typeof $(this).parent().find(".cont img").attr("src")=='undefined'){var dmd=$(this).parent().find(".cont img").attr("data-src");$(this).parent().find(".cont img").attr("src",dmd)}});$("body").delegate("[data-yurl]","click",function(){if($(this).data("yurl")!=''){if($(this).data("yurl-target")!=''&&typeof $(this).data("yurl-target")!='undefined'){if($(this).data("yurl-target")=='_blank'){window.open($(this).data("yurl"),'_blank')}}else{window.location.href=$(this).data("yurl")}}});$("body").delegate('a',"click",function(){if($(this).data("goclick")!=''&&typeof $(this).data("goclick")!=="undefined"){var thisurl=$(this).attr("href");eye.core.go_click($(this).data("goclick"),thisurl);var url=new URL(thisurl);ga('send','pageview',url.pathname)}});$("body").on("mouseover","#languages",function(){if(!$(this).hasClass("flagsloaded")){$("#languages img").each(function(){if(typeof $(this).data("src")!='undefined'){$(this).attr("src",$(this).data("src"));$(this).removeAttr("data-src")}});$(this).addClass("flagsloaded")}})} 135make_dropdown(item,label){if(typeof item!=='object'){var item=$(item)} 136if(!item.hasClass("dropdown")){item.addClass("dropdown")} 137if(!item.hasClass("downrc")){var title=item.attr("data-dropdown-title");if(typeof label!='undefined'){title=label} 138var selected_label=item.attr("data-selected-label");if(typeof selected_label=='undefined'){selected_label=title} 139var label='<span class="label"><span>'+selected_label+'</span>';if(item.data("counts")){label+='<b class="count">'+item.data("counts")+'</b>'} 140label+='</span>';item.prepend(label);item.find(".navdrop").attr("id","dropdown"+(Math.floor(Math.random()*Math.floor(999999))));item.find(".label").on("click",function(){var id="#"+$(this).parent().find(".navdrop").attr("id");if($(id+"_shownd").length>0){if($(id+"_shownd").hasClass("shown")){$(id+"_shownd").fadeOut(200);setTimeout(function(){$(id+"_shownd").remove()})}else{$(id+"_shownd").fadeIn(200)}}else{$(id).show();
140item.find(".imglazy").each(function(){$(this).lazy();$(this).css({"background-image":"url("+$(this).data("src")+")"})});item.find(".lazy").each(function(){$(this).lazy();$(this).css({"background-image":"url("+$(this).data("src")+")"})});if(item.data("element-callback")){eye.core.show_dropdown(id,$(this),item.data("element-callback"))}else{eye.core.show_dropdown(id,$(this))}}});item.addClass("downrc")}} 141show_dropdown(item,clicked,callback){var windowwith=$(window).width();var htmldd=$(item).html();var root_elem=clicked.parent();if(typeof root_elem!='undefined'){var fullwidth=root_elem.attr("fullwidth")} 142var attr_id=$(item).attr("id");var attr_class=$(item).attr('class');var selected=clicked.parent().attr('data-select');var olditem="#"+attr_id;item="#"+attr_id+"_shownd";if($("body").find("#"+attr_id+"_shownd").length==0){var htmltoins="<div id='"+attr_id+"_shownd' class='"+attr_class+"'>";if(root_elem.data("search")=='1'){htmltoins+='<input type="text" class="search_cur_dropbox" placeholder="'+root_elem.data("search-label")+'"/>'} 143htmltoins+='<div class="inner">'+htmldd+'</div></div>';$("body").append(htmltoins)} 144if(clicked==''){$(item).css({left:(windowwith-$(olditem).outerWidth())/2})}else{var thisoffset=clicked.offset();var thiswidth=clicked.width();var dropdownwidth=$(olditem).outerWidth();thisoffset.top+=clicked.height()+10;$(item).css({"top":thisoffset.top,"left":thisoffset.left});if(windowwith>430||dropdownwidth<(windowwith*0.6)){if(($(item).width()+thisoffset.left)>$(window).width()){$(item).css({top:thisoffset.top,left:(thisoffset.left+thiswidth)-$(item).width()-10});$(item).addClass("alnright")}else{$(item).css({top:thisoffset.top,left:thisoffset.left})}}else{$(item).css({top:thisoffset.top,left:(windowwith-$(olditem).outerWidth())/2})} 145if(fullwidth==1){$(item).css({"max-width":root_elem.outerWidth(),left:thisoffset.left})} 146$(item).slideDown(150)} 147if(selected!=''){$("#"+attr_id+"_shownd").find("[data-ty='"+selected+"']").addClass('active')} 148if(root_elem.data("search")=='1'){$("#"+attr_id+"_shownd .search_cur_dropbox").on("keyup",function(){var s=$(this).val().toLowerCase();if(s!=''){$("#"+attr_id+"_shownd .inner").children().each(function(){var thistext=$(this).text().toLowerCase();if(thistext.includes(s)){$(this).show()}else{$(this).hide()}})}else{$("#"+attr_id+"_shownd .inner").children().each(function(){$(this).show()})}})} 149$(item).show();$(olditem).hide();if(clicked!=''&&typeof eye.core.max_width_container!='undefined'){if(windowwith>eye.core.max_width_container){var itemoffset=$(clicked).offset();var itemwidth=$(item).outerWidth();if((itemoffset.left+itemwidth)>((windowwith-eye.core.max_width_container)/2+eye.core.max_width_container)){$(item).css({"left":"inherit"});$(item).css({"right":(windowwith-eye.core.max_width_container)/2})}}} 150$(item).delegate("li","click",function(){$(this).parent().hide();var selected=$(this).attr("data-ty");if(typeof $(this).attr('data-ty-label')!='undefined'){var text=$(this).attr('data-ty-label')}else{var text=$(this).text()} 151if(typeof window[callback]=="function"){window[callback](selected)} 152$(olditem).parent().find(".active").each(function(){$(this).removeClass("active")});$(this).addClass("active");$(olditem).parent().find(".navdrop > li[data-ty='"+selected+"']").trigger("click");$(olditem).parent().attr("data-select",selected);if(selected==''){$(olditem).parent().find(".label").html($(olditem).parent().data("dropdown-title"))}else{$(olditem).parent().find(".label").html(text)}});eye.core.set_outside_listener('hide_'+item,item,function(item){$(document).find(item).remove()})}} 153class Eye_Modules{constructor(){};ajax_call(module,doo,options,callback){var array={action:'eye_ajax_loader',module:module,do:doo,lang:$lang};$.extend(array,options);$.ajax({type:'POST',url:$site+'/ajax.php?mod='+module,data:array,success:function(data){if(typeof callback=="function"){callback(data)}}});return!0} 154ajax_core(module,doo,options,callback){var array={action:'eye_ajax_loader',module:module,do:doo,lang:$lang,core:1};$.extend(array,options);$.ajax({type:'POST',url:$site+'/app/bridge/load.php?mod='+module,data:array,success:function(data){if(typeof callback=="function"){callback(data)}}});return!0}} 155class Eye_Paint{constructor(){var _this=this;if(!$('body').hasClass('no_fullwidth')){if($(".be_box.fullwidth").length>0){$(".be_box.fullwidth").each(function(){_this.box_fullwidth($(this))})}} 156if($(".be_box.expand").length>0){if(!typeof $be_expand_block=='undefined'){$(".be_box.expand").each(function(){_this.box_expand($(this))})}} 157if($(".section").length>0){$(".section").each(function(){if($(this).hasClass("is_fullwidth")){$(this).css({"width":eye.core.win_width});var rect=$(this).offset();rect=-rect.left;$(this).css({"margin-left":rect})}})}} 158tooltip(el){var html=el.data("tooltip");if($(".toolTip").length==0){$("body").append('<div class="toolTip"><div class="in"></div></div>')} 159$(".toolTip").removeClass("alignleft");var offset=el.offset();var arrow_position='center';if(el.width()<100){arrow_position='left'} 160$(".toolTip .in").html(html);var toolheight=$(".toolTip").height()+20;if($window.width()<($(".toolTip").width()+offset.left)){$(".toolTip").addClass("alignleft");$(".toolTip").css({"top":offset.top-toolheight,"left":(offset.left-$(".toolTip").width())})}else{$(".toolTip").css({"top":offset.top-toolheight,"left":offset.left})} 161$(".toolTip").attr("data-arrow-position",arrow_position);$(".toolTip").show()} 162box_expand(_this){if(window.innerWidth>768){var pos=_this.position($be_expand_block);var tottlwid=$($be_expand_block).outerWidth()-1}else{var pos=_this.offset();var tottlwid=$(window).width()}
163_this.css({"width":tottlwid,"margin-left":-pos.left,"padding":pos.left});_this.replaceWith('<div class="expanded" style="height: '+(_this.height()+(pos.left*2))+'px;">'+_this[0].outerHTML+'</div>')} 164box_fullwidth(_this){var pos=_this.offset();_this.css({"width":$(window).width(),"margin-left":-pos.left});_this.find(".inside").css({"width":$($mainblock).width(),"margin-left":pos.left});_this.find("img").each(function(){$(this).lazy()});_this.find(".lazy").each(function(){$(this).lazy({visibleOnly:!0})})}} 165eye.core=new Eye();eye.core.theme.lazy=function(){$('.entry-content img').lazy();$('.lazy').lazy()} 166eye.core.theme.login=function(){if(eye.footprint.logged==1){$(".fp_login_button .logged").show();$(".fp_login_button .login").hide();$(".fp_login_button .logged").find('i').html(eye.footprint.user_details.first_name);if(eye.footprint.user_details.photo!=''){$(".fp_login_button").find(".logged b").css({"background-image":"url(https://nostrabet.com/wp-content/uploads-users/"+eye.footprint.user_details.photo+")"})}}else{$(".fp_login_button .login").show();$(".fp_login_button .logged").remove()}} 167eye.core.menu=function(){var menuoffset=$(".site-head #main-menu").offset();var menuWidth=$(".site-head #main-menu").width();var submenufade='';if(this.win_width>1150){$(document).delegate("#main-menu > li","mouseover",function(){if($(this).find(".submenu").length>0){$(this).addClass("hovered");clearTimeout(submenufade);$(".menu-bg").addClass("shown");var submenufade=setTimeout(function(){$(".menu-bg").animate({opacity:1})},200);$(this).children(".submenu").css({"width":menuWidth,"left":-($(this).offset().left-menuoffset.left)})}});$(document).delegate("#main-menu li[data-design]","mouseover",function(){if($(this).data("design")!=''){printMenuDesign($(this))}});$(document).delegate("#main-menu > li","mouseout",function(){$(this).removeClass("hovered");clearTimeout(submenufade);$(".menu-bg").removeClass("shown")})}else{eye.core.menu_mobile()}} 168eye.core.menu_mobile=function(){$(".line2").addClass("mobileMenu");$(".mobile-menu-trigger").on("click",function(){$(".line2").slideToggle(200);$("html, body").animate({scrollTop:0},500).toggleClass('hasoverlay')});$("#main-menu > li").each(function(){if($(this).find(".submenu").length>0){$(this).append('<i class="pulldown icon-arrow-right"></i>')}});$("#main-menu").delegate(".pulldown","click",function(){if(typeof $(this).parent().attr("data-design")==='undefined'){}else{if($(this).parent().attr("data-design")!=''){printMenuDesign($(this).parent())}} 169if($(this).parent().find('.back-heading').length<1){var b_heading=$(this).parent().find('a').eq(0).clone();if($(this).parent().find('.numbers').length>0){var b_numbers=$(this).parent().find('.numbers').eq(0)}else{var b_numbers=''} 170$(this).parent().find('.submenu').eq(0).prepend('<li class="back-heading"></li>');$(this).parent().find('.submenu').eq(0).find('.back-heading').append('<i class="icon-arrow-right icon-arrow-left"></i>').append(b_heading).append(b_numbers)} 171$(this).parent().find(".submenu").addClass("preventRemoveclass");$(this).parent().parent().find(".submenu").each(function(){if(!$(this).hasClass("preventRemoveclass")){$(this).removeClass("showsub")}});$(this).parent().find(".submenu").removeClass("preventRemoveclass");$(this).parent().find(".submenu").toggleClass("showsub");$(this).parent().addClass("shown");$(this).parent().parent().addClass("clicked");$('html, body').animate({scrollTop:0},400)});$("#main-menu").delegate("i.icon-arrow-left","click",function(){$(this).parent().parent().parent().find(".submenu").removeClass("preventRemoveclass");$(this).parent().parent().parent().parent().removeClass("clicked");var _this=$(this).parent().parent().parent();setTimeout(function(){_this.find(".submenu").toggleClass("showsub");_this.removeClass("shown")},350)})} 172eye.core.scroll=function(){var top2='';if($(".efwidgets.article-contentst").length>0){top2=jQuery('.efwidgets.article-contentst').offset().top;if($(".last-category-posts").length>0){top2=top2+$(".last-category-posts").height()+1500}} 173jQuery(window).scroll(function(event){var yy=jQuery(this).scrollTop();if(yy>eye.core.win_height&&yy<(eye.core.doc_height-$(".site-footer").height()+(eye.core.win_height*1.5))){
173jQuery('.scrollToTop').fadeIn();jQuery(".footer-bonus-code-popup").addClass("fixed")}else{jQuery('.scrollToTop').fadeOut();jQuery(".footer-bonus-code-popup").removeClass("fixed")} 174if(this.win_width>960){if(top2!=''){if(yy>=top2){if(yy>1600){jQuery('.efwidgets.article-contentst').css({"width":$("#secondary").width()});jQuery('.efwidgets.article-contentst').addClass('stuck');var artcnh=jQuery('.efwidgets.article-contentst').height();jQuery('.efwidgets.bookie-list').addClass('stuck');jQuery('.efwidgets.bookie-list').css({"width":$("#secondary").width(),"top":artcnh+$(".header_holder").height()})}}else{jQuery(".efwidgets.article-contentst").css({"width":"100%"});jQuery(".efwidgets.article-contentst").removeClass('stuck');jQuery('.efwidgets.bookie-list').removeClass('stuck');jQuery('.efwidgets.bookie-list').css({"width":"100%","top":"auto"})}}}})} 175$(function(){eye.core.load()});function showGeoBookmakers(){if($.cookie('remote_user_country')=='GB'){if($(".payments_table").length>0){$(".payments_table").each(function(){$(".payments_table").after("<p style='text-align: center;'>UK customers can't use credit cards .</p>");$(".payments_table .method-visa").hide();$(".payments_table .method-mastercard").hide()})}}} 176$(function(){(function($){$.Lazy('loadScriptsSC',function(element,response){if(element.hasClass("encjs")){element.addClass("loaded");var dtype=element.data("ajaxtype");$.ajax({type:'POST',url:$site+'/ajax.php',data:{action:'be_ajax_actions',type:"script_sc_print",jstxt:element.html(),ajaxtype:dtype},success:function(data){element.html(data)}})} 177response(!0)})})(window.jQuery||window.Zepto);siteInit()});function siteInit(){$('#primary img').lazy();$('.lazy').lazy();$(".be-star-ratings").on("click",".be-stars i",function(){var _thisID=$(this).parent().parent().data("id");var _this=$(this);var options=new Object();options.id=_thisID;options.rating=_this.attr("rel");_this.parent().animate({"opacity":0.5},400);if($.cookie('starrating_'+_thisID+'')!=1){$.ajax({type:'POST',url:'https://appmodo.com/ajax.php',data:{action:'be_ajax_actions',type:"bestarsrating",data:options,},success:function(data){alert(data);$.cookie('starrating_'+_thisID+'','1',{expires:1});_this.parent().animate({"opacity":1},300);window.location.reload()}})}});if($(".operator-rating-lines").length>0){$(".operator-rating-lines .line").each(function(){var dwi=$(this).data("width");$(this).animate({width:dwi+'%'},1500)})} 178if($(".bbutton .ttip").length>0){setTimeout(function(){$(".bbutton .ttip").show()},1500)} 179$(".list-post-shortcode").each(function(){var topheight=100;$(this).find(".title").each(function(){if($(this).height()>topheight){topheight=$(this).height()} 180$(this).css({"height":topheight})})})} 181if($(".be_box.style_conclusion").length>0){$(".be_box.style_conclusion").each(function(){if($(this).find(".bbutton-container").length>0){$(this).find(".bbutton-container").append('<div class="iconstar lazy" data-src="https://appmodo.com/wp-content/themes/modo/images/star-conclusion.png"></div>')} 182$(this).prepend('<div class="blurredbg lazy" data-src="https://appmodo.com/wp-content/themes/modo/images/blurred.png"></div>')})} 183jQuery(document).ready(function($){$igWindowWidth=$(window).width();$igWindowHeight=$(window).height();$sidebarHeightOffset='';if($(".sidebar").length>0){$sidebarOffset=$(".sidebar").offset();$sidebarHeightOffset=$sidebarOffset.top+$(".sidebar").height()} 184if($(".art-navigator").length>0){$artcontHeightOffset=$(".art-navigator").offset().top+$(".art-navigator").height()}else{$artcontHeightOffset=''} 185$scrolled_content=0;$("body").append('<div class="totop icon-arrow-up"></div>');$nav_closed=1;$(".navi-icon").on("click",function(){showHideMobileNavigation()});function showHideMobileNavigation(){if($nav_closed==1){$nav_closed=0;$("body").addClass("mobileNavOpened");$("#site-navigation").show()}else{$nav_closed=1;$("body").removeClass("mobileNavOpened");$("#site-navigation").hide()}} 186if($igWindowWidth<1200){$("#primary-menu li").each(function(){if($(this).find(".sub-menu").length>0){$(this).prepend("<div class='icon-arrow-down dpdwn'></div>")}});$(document).on("click",".dpdwn",function(){$(this).parent().find(".sub-menu").show().addClass("showme")});$(document).on("click",".artcnavig",function(){$("html, body").animate({scrollTop:$(".art-navigator").offset().top},1000)})} 187jQuery(window).scroll(function(event){var yy=jQuery(this).scrollTop();if(yy>$(window).height()&&yy<($(document).height()-$("#site-footer").height()-$(window).height())){$(".totop").fadeIn();$("body").addClass("headFixed");
187jQuery(".footer-bonus-code-popup").addClass("fixed")}else{$(".totop").fadeOut();$("body").removeClass("headFixed");jQuery(".footer-bonus-code-popup").removeClass("fixed")} 188if($igWindowWidth>1199){if($sidebarHeightOffset!=''){if(yy>($sidebarHeightOffset+150)){if($scrolled_content==0){$("#main").append('<div class="scrolled-content"></div>');var sidebarwidth=$(".sidebar").width();var sidebarright=$(".sidebar").offset().left;$(".scrolled-content").css({"width":sidebarwidth,"right":($igWindowWidth-sidebarwidth-sidebarright)});if($(".to-the-comments").length>0){$(".scrolled-content").append('<div class="to-the-comments">'+$(".to-the-comments").html()+'</div>')} 189if($("#operator-head").length>0){$(".scrolled-content").append('<div class="buttons">'+'<div class="operator-logo">'+$("#operator-head .operator-logo").html()+'</div>'+$("#operator-head .buttons").html()+'</div>')} 190if($(".art-navigator").length>0){$(".scrolled-content").append('<div class="be_section art-navigator">'+$(".art-navigator").html()+'</div>')} 191if($(".sidebar .geo-bookmakers-holder").length>0){$(".scrolled-content").append('<div class="widget be_section geo-bookmakers-holder bookmakers_top">'+$(".geo-bookmakers-holder").html()+'</div>')}else{if($(".sidebar .bookmakers_top ").length>0){$(".scrolled-content").append('<div class="widget be_section bookmakers_top apps-widget">'+$(".widget.bookmakers_top").html()+'</div>');$(".bookmakers_top").find(".book-logo").each(function(){if(typeof $(this).data("src")==="undefined"){}else{if($(this).data("src")!=''){$(this).css({"background-image":'url('+$(this).data("src")+')'})}}})}}}else{if($("#comments").length>0){if(yy>($("#comments").offset().top-$igWindowHeight)){$(".scrolled-content .to-the-comments").slideUp()}else{$(".scrolled-content .to-the-comments").slideDown()}}} 192$scrolled_content=1}else{if($scrolled_content==1){$(".scrolled-content").fadeOut(200);setTimeout(function(){$(".scrolled-content").remove()},180)} 193$scrolled_content=0}}}else{if($(".art-navigator").length>0){if(yy>$artcontHeightOffset){if($scrolled_content==0){$("#head-line").append('<div class="shortcut"></div>');$("#head-line .shortcut").append('<div class="artcnavig">'+$(".art-navigator .head").text()+'</div>');if($("#comments").length>0){$("#head-line .shortcut").append('<div class="to-the-comments">'+$(".to-the-comments").text()+'</div>')} 194if($("#operator-head .bbutton:nth-child(1)").length>0){$("#head-line .shortcut").append('<a href="'+$("#operator-head .bbutton:nth-child(1)").attr("href")+'"'+'target="_blank" rel="nofollow" data-goclick="'+$("#operator-head .bbutton:nth-child(1)").attr("data-goclick")+'" class="boncodeb">'+$("#operator-head .bbutton:nth-child(1)").text()+'</a>')}}else{} 195$scrolled_content=1}else{$("#head-line .shortcut").remove();$scrolled_content=0}}}});var ajax_flag=0;$(document).on("click",".audioStart",function(){var _this=$(this);var options=new Object();options.file=$(this).data("file");options.title=$(this).data("title");options.duration=$(this).data("duration");$.ajax({type:'POST',url:'https://appmodo.com/ajax.php',data:{action:'be_ajax_actions',type:"showFullAudioPlayer",data:options,},success:function(data){_this.after(data);_this.remove()}})});$("body").delegate('.to-the-comments',"click",function(){$("html, body").animate({scrollTop:$("#comments").offset().top},1000)});$("body").delegate('.pubc',"click",function(){$("html, body").animate({scrollTop:$("#respond").offset().top},1000)});$("body").delegate('.totop',"click",function(){$("html, body").animate({scrollTop:0},1000)});if($(window).width()>1200){if($(".menu-item.fullwidthsub").length>0){$(".menu-item.fullwidthsub").each(function(){var el=$(this);var eloffs=$(this).offset();var menuoffset=$("#site-navigation").offset();var menuwidth=$("#site-navigation").width();var eloffset=$(this).offset();var submenu=$(this).find(".sub-menu");submenu.css({"margin-left":-(eloffset.left-menuoffset.left),"width":menuwidth});$(this).find(".sub-menu").prepend("<div class='marrowel' style='width:"+el.width()+"px;left:"+(eloffs.left-menuoffset.left)+"px'></div>")})} 196if($("#operator-head .cont").length>0){$("#operator-head .cont").css({"min-height":$("#operator-head").height()-20})}}else{$("#head-search .icon-search").on("click",function(){$(".searchForm").toggleClass("search-snown-mobile");$(this).toggleClass("icon-x");if($(".searchForm").hasClass("search-snown-mobile")){$(".searchForm.search-snown-mobile .field").focus()}})} 197if($(window).width()>1199){if($(".bg-bns").length>0){$(".bg-bns").css({"top":$(".bonus-info").position().top-10,'height':$(".bonus-info").height()+20})}} 198$(document).on("click",".rm-button",function(){$(this).next().slideDown();$(this).slideUp()});$window.on('scroll',revealOnScroll);$(".hline i").each(function(){$(this).addClass("revealOnScroll");$(this).attr("data-animation","fadePop")}) 199revealOnScroll()});$('.c100').each(function(){var r=$(this).data("progress");var ac=(360/100)*r;if(ac>180){var time=300;$(this).addClass("rotsc")}else{var time=800} 200$(this).find('.bar').animateRotate(ac,time)});$(document).on("click",".bookie-terms-popup .close",function(){$(this).parent().remove()});if($(window).width()<1081){$(document).on("click",".bookie-custom-terms",function(e){e.preventDefault();showBookieCustomTermsPopup($(this))})}else{$(document).on("mouseover",".bookie-custom-terms",function(){showBookieCustomTermsPopup($(this))})} 201function centerBKtermsPop($v){var offset=$v.find(".bookie-terms-popup").offset();if(typeof offset!='undefined'){var widnowstart=($(document).width()-1200)/2;$v.find(".bookie-terms-popup").css({"left":(widnowstart-offset.left)+"px","top":$v.height()+"px"})}} 202document.addEventListener("DOMContentLoaded",function(){const newHrefOffElements=document.querySelectorAll('.newhrefoff');
202newHrefOffElements.forEach(function(element){element.addEventListener('click',function(){const textToCopy=document.querySelector('.thecode').textContent.trim();const tempInput=document.createElement('input');tempInput.value=textToCopy;document.body.appendChild(tempInput);tempInput.select();document.execCommand('copy');document.body.removeChild(tempInput);const copiedSpan=this.querySelector('.copied_span');if(copiedSpan){copiedSpan.style.display='inline'}})});const dotsElement=document.getElementById('dotttsdiv');dotsElement.addEventListener('click',function(){const oadivElement=document.getElementById('oadiv');oadivElement.style.display='inline'})}) 203;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.