Skip to Content

JavaScript File

URL: https://s1.eground.org/js/siropu/am/core.min.js?_v=49241d4b
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Thu, 07 Jan 2021 01:47:03 GMT
Download Time: Less than a second
Cookies: None
Size: 9 KB
HTTP Headers:  6 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1!function(e,c,a,h){var b=XF.Cookie.get("sam_viewed")?JSON.parse(XF.Cookie.get("sam_viewed")):{}

2;var g=null;function f(k){if(!k.length){return}

3var m=e(c).scrollTop();var l=m+e(c).height();var i=e(k).offset().top;var j=i+e(k).height();return((j<=l)&&(i>=m))}

4function d(j,i){gtag("event",i,{event_category:"Ads",event_label:j.name+" | "+j.type+" | "+j.position}

5)}

6e(function(){if(XF.samViewCountMethod=="impression"){var k=[];e(".samItem[data-id][data-cv]").each(function(){var m=e(this).data("id");var l=e(this).data("position")?e(this).data("position"):e(this).parents("div[data-position]").data("position");k.push([m,l])}

7);setTimeout(function(){for(var l in XF.samBgAds){k.push([XF.samBgAds[l],"javascript"])}

8if(k.length){XF.ajax("POST",XF.canonicalizeUrl("index.php?sam-item/track-impressions"),{impressions:k}

9,function(n){if(n.ga!==undefined&&c.gtag!==undefined){for(var m in n.ga){d(n.ga[m],"Impression")}

10}

11}

12,{skipDefault:true,global:false}

13)}

14}

15,2000);if(e("#siropuChatBar").length){e('div[data-position="footer_fixed"]').each(function(){e(this).css("bottom",e("#siropuChatBar").height()+5)}

16)}

17}

18e(".samItem[data-affiliate-url]").on("click",function(n){n.preventDefault();var l=e(this).data("affiliate-url");var m=e(this).attr("target");c.open(l,m?m:"_self")}

19);e(".samItem[data-affiliate-url]").contextmenu(function(l){e(this).attr({href:e(this).data("affiliate-url"),"data-non-affiliate-url":e(this).attr("href")}

20)}

21);e(".samItem[data-affiliate-url]").on("mouseover",function(m){var l=e(this).data("non-affiliate-url");if(l){e(this).attr("href",l)}

22}

23);e(a).on("mouseover",".samItem iframe",function(){g=e(this).parents(".samItem")}

24);e(a).on("mouseout",".samItem iframe",function(){g=null}

25);e(c).blur(function(){if(g){g.trigger("click")}

26}

27);e(c).focus(function(){g=null}

28);function i(m){var l=m.match(/[^-]?width:\s?([\d]+)px/i);return l[1]!==undefined?l[1]:""}

29function j(){e(".samCustomSize").each(function(){var n=e(this).parent();var m=e(this).hasClass("samResponsive");var l=e(this).hasClass("samCarousel");var q=e(this).attr("style");var p=0;if(q){p=i(q)}

30else{e(this).find(".samItem[style]").each(function(){p=i(e(this).attr("style"));if(p){return false}

31}

32)}

33var o=p>=n.width();if(o&&!m){e(this).addClass("samResponsive")}

34else{if(!o&&m){e(this).removeClass("samResponsive")}

35}

36}

37)}

38e(c).resize(function(){j()}

39);j()}

40);XF.SAMUnit=XF.Element.newHandler({options:{position:""}

...

</html>