1var SIWCPublic;(SIWCPublic||(SIWCPublic={})).Main=class{constructor(t){t.find(".mabel-siwc-img-wrapper").each((t,i)=>{var s=jQuery(i),n=s.data("sw-icon"),i=s.data("sw-tags"),a=s.data("sw-text"),r=s.data("sw-size"),o='<div class="mb-siwc-popup-inner"><div class="siwc-thumb-wrapper"></div><div class="siwc-inner-text"><h1></h1><h2></h2><a target="_blank" href="#">'+a+"</a></div></div>";i.forEach((t,i)=>{jQuery('<span class="mb-siwc-tag"><i class="'+n+'"></i></span>').css({top:t.posY+"%",left:t.posX+"%"}).on("click",t=>{t.preventDefault();var t=jQuery(t.currentTarget),i=s.find(".mb-siwc-tag");t.toggleClass("active"),i.not(t).removeClass("active"),i.not(t).next().addClass("mabel-invisible"),t.next().toggleClass("mabel-invisible")}).appendTo(s);var a=jQuery(o),e=(t.thumb&&a.find(".siwc-thumb-wrapper").css("backgroundImage","url("+t.thumb+")"),a.find("h1").html(t.title),a.find("h2").html(t.price),a.find("a").attr("href",t.link),jQuery('<div class="mb-siwc-popup mabel-invisible">')),a=(t.thumb||e.addClass("siwc-no-thumb"),e.append(a).appendTo(s).css({top:t.posY+"%",left:t.posX+"%",marginLeft:-e.width()/2,marginTop:r/2+15}),this.getPopupPosition(t.posX,t.posY,e,s));if("bottom"!=a)switch(a){case"top":e.css("marginTop",-1*(e.height()+15+r/2));break;case"top left":e.css({marginTop:-1*(e.height()-10),marginLeft:-1*(e.width()+15+r/2)});break;case"top right":e.css({marginTop:-1*(e.height()-10),marginLeft:r/2+15});break;case"bottom left":e.css({marginTop:-10,marginLeft:-1*(e.width()+15+r/2)});break;case"bottom right":e.css({marginTop:-10,marginLeft:r/2+15})}e.addClass("mb-siwc-"+a.replace(" ","-"))})})}getPopupPosition(t,i,a,e=null){null==e&&(e=jQuery(document.body));var s=a.height(),a=a.width(),n=e.height(),a=a/e.width()*100,e=100<i+s/n*100?"top":"bottom";return t-a<0&&(e+=" right"),100<t+a&&(e+=" left"),e}},window.addEventListener("load",function(){new SIWCPublic.Main(jQuery(document.body))});
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.