function contrecStrstr(t){t=(t=(t=t.replace(/www./gi,"")).replace(/https:/gi,"")).replace(/http:/gi,"");var e;return-1!=(e=(t+="").indexOf("?"))&&(t=t.substr(0,e)),"/"!=t.substr(t.length-1)&&(t+="/"),t}function strstr(t,e,n){var i;return-1!=(i=(t+="").indexOf(e))&&(n?t.substr(0,i):t.slice(i))}function indaHash(t){var e=0;if(0==t.length)return e;for(i=0;i=f&&i.push(w[W].idPersona)}var y=Math.floor(Math.random()*i.length),E=i[y],A=new XMLHttpRequest,y="https://cdn.contrec.index.hu/json/p_"+E+".json";if(A.open("GET",y,!1),A.send(),4==A.readyState&&200==A.status&&(C=JSON.parse(A.responseText)),!0===g)for(W=0;W=a.ContentMain[o].length&&(h=E,l=0<=l.indexOf("_N-")?"_P-"+E+strstr(l,"_N-"):"_P-"+E)}let _="";window.innerWidth<580&&(_="_43mob34");var k,M,W,I,S,D,T,H,B,P,E=document.getElementById("indaContrecWidget"+n).getAttribute("data-param");l=null!=E?(M=(k="https://dex.hu/x.php?id="+E+"_wID-"+n)+l+_+"_view&noredirect=1","https://dex.hu/x.php?id="+E+"_wID-"+n+l+_+"_vi&noredirect=1"):(M=(k="https://dex.hu/x.php?id=_wID-"+n)+l+_+"_view&noredirect=1","https://dex.hu/x.php?id=_wID-"+n+l+_+"_vi&noredirect=1");const R=[],O=[];""!=r&&""!=i&&(I=-1==(r=r.replace(/"/gi,'"')).search(" ")?r:r.split(" ")[0]),S=1==a.new_window?' target="_blank"':"";let V=[];for(W=0;W

'+siteBadge(a.ContentMain[o][W].link)+"

"+a.ContentMain[o][W].title+"
",V.push(a.ContentMain[o][W].idArticle)):(e+='",V.push(a.ContentReserve[T][H].idArticle))):4==a.ContentMain[o][W].type?(B="TÁMOGATOTT TARTALOM",P="",0<(a.ContentMain[o][W].source_code.natUrl.match(/blog.hu/g)||[]).length&&(B="BLOG.HU",P=' style="margin-right: -53px;"'),e+='"):2!=a.ContentMain[o][W].type&&3!=a.ContentMain[o][W].type||(e+='
',R.push(a.ContentMain[o][W]));Math.round(a.ContentMain[o].length/2)!=a.ContentMain[o].length/2&&(e+='",contentDP+=a.ContentDisplayProblem[0].idArticle+"#",EvenExtraContent="widgetElement"+a.ContentDisplayProblem[0].idArticle);s="";if(e=""!=r&&""!=i?s+"<"+r+">"+i+"
'+e+"
":s+'
'+e+"
",!1!==h&&(document.getElementById("indaContrecWidget"+n).style.display="none"),document.getElementById("indaContrecWidget"+n).innerHTML+=e,!1!==h){for(W=0;W

'+siteBadge(C[W].link)+"

"+C[W].title+"";document.getElementById("widgetElement"+V[W]).innerHTML=N}if(void 0!==a.ContentDisplayProblem){let t=0;for(dp=W;dp

'+siteBadge(a.ContentDisplayProblem[t].link)+"

"+a.ContentDisplayProblem[t].title+"").replace("_F-_P-","_P-"),document.getElementById(O[d]).parentElement.innerHTML=e,contentDP+=a.ContentDisplayProblem[t].idArticle+"#")}},j)}if(widgetIdList.push(n),widgetViStatUrl.push(l),widgetViStatUrlHasHit.push(0),widgetViHandler(),window.innerWidth<580){let n=document.getElementById("contrec-sticky");if(null!==n){let t=document.getElementsByClassName("widgetElement"),e=Math.floor(Math.random()*t.length);if(-1

'+document.querySelectorAll("div#"+s+" a")[0].lastChild.nodeValue+"

"+l+"
";n.innerHTML=l}}}function clickOrigin(t){var e=t.target,t=[];return t.tagType=e.tagName.toLowerCase(),t.tagClass=e.className.split(" "),t.id=e.id,t.parent=e.parentNode,t.parentclassName=e.parentNode.className.split(" "),t}window.addEventListener("scroll",widgetViHandler);for(var tagsToIdentify=["img","a"],x=document.getElementsByClassName("indaContrecWidget"),i=0;i